OSV-2022-902 Invalid-free in function signature specialization <Arg
An invalid free vulnerability in the Swift NIO HTTP decoder allows remote attackers to cause a denial of service via crafted HTTP requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2022-902?
OSV-2022-902 is a memory corruption vulnerability in swift-nio, published on 17 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51434
Crash type: Invalid-free
Crash state:
function signature specialization <Arg
NIOHTTP1.HTTPDecoder.didFinishHead
protocol witness for NIOHTTP1.
Which versions are affected by OSV-2022-902?
1 open source package ship an affected version, including swift-nio.
| Package | Affected | Fixed in |
|---|---|---|
swift-nio OSS-Fuzz | All versions | None |
How do I fix OSV-2022-902?
No fix has been published for OSV-2022-902 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 OSV-2022-902 being exploited?
There is no known exploitation of OSV-2022-902 in the wild and no public exploit code.