OSV-2021-1215 Invalid-free in swift_unexpectedError
An invalid free vulnerability in the Swift runtime's unexpected error handler can cause a crash, potentially leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Not stated
- Victim action needed
- Not stated
- Fix
- None listed
What is OSV-2021-1215?
OSV-2021-1215 is a memory corruption vulnerability in swift-protobuf, published on 10 Sep 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38264
Crash type: Invalid-free
Crash state:
swift_unexpectedError
function signature specialization <Arg
function signature specialization <Arg
Which versions are affected by OSV-2021-1215?
1 open source package ship an affected version, including swift-protobuf.
| Package | Affected | Fixed in |
|---|---|---|
swift-protobuf OSS-Fuzz | All versions | None |
How do I fix OSV-2021-1215?
No fix has been published for OSV-2021-1215 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-2021-1215 being exploited?
There is no known exploitation of OSV-2021-1215 in the wild and no public exploit code.