Vulnerability Details : CVE-2023-22895
The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.
Vulnerability category: OverflowDenial of service
Products affected by CVE-2023-22895
- cpe:2.3:a:bzip2_project:bzip2:*:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-22895
0.24%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-22895
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2023-22895
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-22895
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MI5SVRSGKBWB2JGDLDVIFY5ZQVDZP6I7/
[SECURITY] Fedora 37 Update: rust-sequoia-sop-0.26.1-5.fc37 - package-announce - Fedora Mailing-Lists
-
https://github.com/alexcrichton/bzip2-rs/pull/86
Patched an infinite loop bug in src/mem.rs, impl Decompress::decompress() by bjrjk · Pull Request #86 · alexcrichton/bzip2-rs · GitHubExploit;Patch;Third Party Advisory
-
https://crates.io/crates/bzip2/versions
crates.io: Rust Package RegistryPatch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UUK2JO25PPA6XBREKJRBLRCD22LKIOLO/
[SECURITY] Fedora 38 Update: rust-sequoia-sop-0.26.1-5.fc38 - package-announce - Fedora Mailing-Lists
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SQK57GGXJX3AH7KF6S7S3N7JC5QOYUQ7/
[SECURITY] Fedora 36 Update: rust-sequoia-sq-0.26.0-5.fc36 - package-announce - Fedora Mailing-Lists
Jump to