GHSA-h63v-hw6g-x8hp

Suggest an improvement
Source
https://github.com/advisories/GHSA-h63v-hw6g-x8hp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-h63v-hw6g-x8hp/GHSA-h63v-hw6g-x8hp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h63v-hw6g-x8hp
Aliases
  • CVE-2024-53441
Published
2024-12-09T21:31:02Z
Modified
2024-12-11T21:57:14Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N CVSS Calculator
Summary
Bit flip attack vulnerability in cookie-encrypter
Details

due to a weakness in the encryption method used in cookie-encrypter an attack can use the world visible IV to edit encrypted cookies without decrypting the cookie itself. This is known as an AES CBC bit flipping attack.

Database specific
{
    "cwe_ids":  [
        "CWE-325",
        "CWE-327"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-12-11T21:35:13Z",
    "nvd_published_at":  "2024-12-09T20:15:20Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / cookie-encrypter

Package

Name
cookie-encrypter
View open source insights on deps.dev
Purl
pkg:npm/cookie-encrypter

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.0.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-h63v-hw6g-x8hp/GHSA-h63v-hw6g-x8hp.json"