CVE-2019-12083

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-12083
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-12083.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-12083
Related
Published
2019-05-13T20:29:02Z
Modified
2024-10-12T04:22:38.171856Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.19 / rust

Package

Name
rust
Purl
pkg:apk/alpine/rust?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34.2-r0

Affected versions

1.*

1.10.0-r0
1.10.0-r1
1.16.0-r0
1.16.0-r1
1.16.0-r2
1.16.0-r3
1.16.0-r4
1.16.0-r5
1.17.0-r0
1.17.0-r1
1.17.0-r2
1.17.0-r3
1.18.0-r1
1.19.0-r0
1.20.0-r0
1.21.0-r0
1.21.0-r1
1.22.1-r0
1.23.0-r0
1.23.0-r1
1.24.0-r0
1.24.1-r0
1.25.0-r0
1.26.0-r0
1.26.0-r1
1.26.2-r0
1.27.0-r0
1.27.2-r0
1.28.0-r0
1.29.0-r0
1.30.0-r0
1.30.0-r1
1.31.1-r1
1.31.1-r2
1.32.0-r0
1.33.0-r0

Alpine:v3.20 / rust

Package

Name
rust
Purl
pkg:apk/alpine/rust?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34.2-r0

Affected versions

1.*

1.10.0-r0
1.10.0-r1
1.16.0-r0
1.16.0-r1
1.16.0-r2
1.16.0-r3
1.16.0-r4
1.16.0-r5
1.17.0-r0
1.17.0-r1
1.17.0-r2
1.17.0-r3
1.18.0-r1
1.19.0-r0
1.20.0-r0
1.21.0-r0
1.21.0-r1
1.22.1-r0
1.23.0-r0
1.23.0-r1
1.24.0-r0
1.24.1-r0
1.25.0-r0
1.26.0-r0
1.26.0-r1
1.26.2-r0
1.27.0-r0
1.27.2-r0
1.28.0-r0
1.29.0-r0
1.30.0-r0
1.30.0-r1
1.31.1-r1
1.31.1-r2
1.32.0-r0
1.33.0-r0

Git / github.com/rust-lang/rust

Affected ranges

Type
GIT
Repo
https://github.com/rust-lang/rust
Events