OSV-2023-1228 Stack-buffer-overflow in asn1_decode_entry
A stack buffer overflow in the ASN.1 decoder allows attackers to cause a denial of service via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2023-1228?
OSV-2023-1228 is a memory corruption vulnerability in opensc, published on 27 Nov 2023.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64522
Crash type: Stack-buffer-overflow READ 8
Crash state:
asn1_decode_entry
asn1_decode
_sc_asn1_decode
Which versions are affected by OSV-2023-1228?
1 open source package ship an affected version, including opensc.
| Package | Affected | Fixed in |
|---|---|---|
opensc OSS-Fuzz | All versions | None |
How do I fix OSV-2023-1228?
No fix has been published for OSV-2023-1228 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-2023-1228 being exploited?
There is no known exploitation of OSV-2023-1228 in the wild and no public exploit code.