GSD-2022-2274 heap buffer overflow in OpenSSL version 3.0.4
Not scored
Published
Check this codebase for GSD-2022-2274 and fix it if it is affected.
What it is: GSD-2022-2274 is a memory corruption vulnerability, published on 28 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GSD-2022-2274 in the wild and no public exploit code.
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/GSD-2022-2274/ (Markdown: https://insights.sbomify.com/GSD-2022-2274/index.md)
A heap buffer overflow in OpenSSL's AVX512 support allows remote attackers to execute arbitrary code via network traffic.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GSD-2022-2274?
GSD-2022-2274 is a memory corruption vulnerability, published on 28 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In OpenSSL version 3.0.4 a heap buffer overflow exists in the AVX512 support that can be attacked via network resulting in code execution. This is reachable via four code paths: RSAZ 1024, RSAZ 512, Dual 1024 RSAZ, and Default constant-time Montgomery modular exponentiation. Please note this issue is especially serious as OpenSSL 3.0.4 contains a security fix for CVE-2022-2068 which allows arbitrary code execution. This means that all users of OpenSSL 3 are affected by a number of serious security vulnerabilities. Intel AXV-512 support is present in Intel CPUs releases including Knights Landing (Xeon Phi x200, 2016), Knights Mill (Xeon Phi x205, 2017), Skylake-SP, Skylake-X (2017), Cannon Lake (2018), Cascade Lake (2019), Cooper Lake (2020), Ice Lake (2019), Tiger Lake (2020), Rocket Lake (2021). Please note that on Alder Lake (2021) AVX-512 is not officially supported, but can be enabled on some motherboards with some BIOS versions. For AMD all Zen4 CPUs contain AVX-512 support. Please note that this was previously assigned GSD-2022-1002526 but we have updated the ID to reflect the assignment of the CVE.
Which versions are affected by GSD-2022-2274?
How do I fix GSD-2022-2274?
No fix has been published for GSD-2022-2274 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is GSD-2022-2274 being exploited?
There is no known exploitation of GSD-2022-2274 in the wild and no public exploit code.