CVE-2022-37454: The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected...
Critical CVSS 9.8
- CVE id
- CVE-2022-37454
- Published
- Last modified
Affected packages
How to fix it
PHP (Runtimes and servers)
Upgrade PHP to the fixed release of the line you run: 7.4.33, 8.0.25, 8.1.12.
php --version
- Install the patched PHP release of your minor line (the php image tag or your OS packages) and restart PHP-FPM.
Python (Runtimes and servers)
Upgrade Python to the fixed release of the line you run: 3.7.16, 3.8.16, 3.9.16, 3.10.9.
python --version
- Install the patched Python release of your minor line (pyenv, the python image tag, or your OS packages) and recreate virtual environments.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.
References
- CVE-2022-37454 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-37454
- Web: https://csrc.nist.gov/projects/hash-functions/sha-3-project
- Web: https://eprint.iacr.org/2023/331
- Web: https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658
- Web: https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html
- Web: https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4/
- Web: https://mouha.be/sha-3-buffer-overflow/
- Web: https://news.ycombinator.com/item?id=33281106
- Web: https://news.ycombinator.com/item?id=35050307
- Web: https://security.gentoo.org/glsa/202305-02
- Web: https://www.debian.org/security/2022/dsa-5267
- Web: https://www.debian.org/security/2022/dsa-5269
- Web: https://csrc.nist.gov/projects/hash-functions/sha-3-project
- Web: https://eprint.iacr.org/2023/331
- Web: https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658
- Web: https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html
- Web: https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.