{"schemaVersion":3,"id":"CVE-2019-12083","aliases":["ALPINE-CVE-2019-12083"],"status":"published","duplicateOf":null,"title":null,"description":"The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the `Error::type_id` method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.","dates":{"published":"2019-05-13T19:06:01.000Z","modified":"2024-08-04T23:10:30.191Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.02216,"percentile":0.82346,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02216},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02216,"percentile":0.82346}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02216,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02216,"percentile":0.82346}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_1509E217B886BD7C","name":"Exploit Reference (blog.rust-lang.org)","source":"reference","url":"https://blog.rust-lang.org/2019/05/13/Security-advisory.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"rust","name":"rust","label":"rust","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/rust","purlType":"apk","versions":[{"text":"≥ 1.34.0, < 1.34.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.34.0, < 1.34.2-r0","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"29","noFixRecorded":false,"fixedIn":null},{"text":"30","noFixRecorded":false,"fixedIn":null}],"versionsText":"29 | 30","eol":{"isEol":true,"eolDate":"2019-11-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"29","label":"29","eolFrom":"2019-11-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.1","eol":{"isEol":true,"eolDate":"2021-02-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.1","label":"Leap 15.1","eolFrom":"2021-02-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"rust-lang","product":"rust","name":"rust","label":"rust","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.34.0, < 1.34.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.34.0, < 1.34.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"rust","label":"Rust","category":"lang"}},"hubHref":"/vendor/rust-lang/rust"}],"affectedCount":4,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://groups.google.com/forum/#%21topic/rustlang-security-announcements/aZabeCMUv70","label":"groups.google.com/forum/","hostname":"groups.google.com","tags":["X Refsource MISC"]},{"url":"https://blog.rust-lang.org/2019/05/13/Security-advisory.html","label":"blog.rust-lang.org/2019/05/13/Security-advisory.html","hostname":"blog.rust-lang.org","tags":["X Refsource MISC","Exploit","Mitigation","Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K6T4BNA5KQYJRIKIGGBOGBMR7TRXPHLR/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HG47HYH3AQTUMBUMX3S3G5DNAY4CBW6N/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html","label":"lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.html","label":"lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.html","label":"lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-12083","label":"security.alpinelinux.org/vuln/CVE-2019-12083","hostname":"security.alpinelinux.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2019:2203-1","OPENSUSE-SU-2019:2244-1","OPENSUSE-SU-2019:2294-1","OPENSUSE-SU-2024:11360-1","SUSE-SU-2019:2439-1","SUSE-SU-2019:2755-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:2203-1","OPENSUSE-SU-2019:2244-1","OPENSUSE-SU-2019:2294-1","OPENSUSE-SU-2024:11360-1","SUSE-SU-2019:2439-1","SUSE-SU-2019:2755-1"]},"timeline":[{"kind":"published","date":"2019-05-13T19:06:01.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T23:10:30.191Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T12:10:57.841Z","stale":false,"partial":false}}