GHSA-q5h2-xq96-6gmc: Duplicate Advisory Buffered-reader Vulnerable To Out-of-bounds Array Vulnerability
LOWGHSA-q5h2-xq96-6gmc is a LOW (CVSS 2.9) buffered-reader vulnerable to out-of-bounds array vulnerability (CWE-125: Out-of-bounds Read) affecting Duplicate Advisory libraries in the crates.io ecosystem. The issue involves buffered-reader vulnerable to out-of-bounds array access leading to panic. Remediation is available by upgrading affected packages to version 1.0.2, 1.1.5.
GHSA-q5h2-xq96-6gmc at a Glance
Security Impact
CVSS: 2.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix GHSA-q5h2-xq96-6gmc
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade buffered-reader to 1.0.2
Upgrade buffered-reader to 1.1.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for buffered-reader
How to Check if You Are Affected
To determine whether your application is affected by GHSA-q5h2-xq96-6gmc, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for buffered-reader
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-q5h2-xq96-6gmc Affected Duplicate Advisory Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
buffered-reader
|
crates.io |
< 1.0.2
|
1.0.2
|
|
buffered-reader
|
crates.io |
≥ 1.1.0
< 1.1.5
|
1.1.5
|
References
Frequently Asked Questions
What is GHSA-q5h2-xq96-6gmc?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-q5h2-xq96-6gmc?
Is buffered-reader affected?
What is the CVSS score of GHSA-q5h2-xq96-6gmc?
What CWE is associated with GHSA-q5h2-xq96-6gmc?
How can I check crates.io dependencies for GHSA-q5h2-xq96-6gmc?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q5h2-xq96-6gmc",
"modified" : "2025-07-28T15:59:16Z",
"published" : "2025-07-28T03:31:05Z",
"withdrawn" : "2025-07-28T15:59:16Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: buffered-reader vulnerable to out-of-bounds array access leading to panic",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-29mf-62xx-28jq. This link is maintained to preserve external references.\n\n### Original Description\nThe buffered-reader crate before 1.2.0 for Rust allows out-of-bounds array access and a panic.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "buffered-reader"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "buffered-reader"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-53161"
}, {
"type" : "WEB",
"url" : "https://crates.io/crates/buffered-reader"
}, {
"type" : "WEB",
"url" : "https://crates.io/crates/w"
}, {
"type" : "WEB",
"url" : "https://github.com"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-29mf-62xx-28jq"
}, {
"type" : "PACKAGE",
"url" : "https://gitlab.com/sequoia-pgp/sequoia"
}, {
"type" : "WEB",
"url" : "https://gitlab.com/sequoia-pgp/sequoia/-/tags/buffered-reader%2Fv1.0.2"
}, {
"type" : "WEB",
"url" : "https://gitlab.com/sequoia-pgp/sequoia/-/tags/buffered-reader%2Fv1.1.5"
}, {
"type" : "WEB",
"url" : "https://lists.sequoia-pgp.org/hyperkitty/list/announce@lists.sequoia-pgp.org/thread/SN2E3QRT4DMQ5JNEK6VIN6DJ5SH766DI"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2023-0039.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-28T15:59:16Z",
"nvd_published_at" : "2025-07-28T03:15:23Z"
}
}