OSV-2020-680 Bad-free in sc_pkcs15_decode_prkdf_entry
A bad-free vulnerability in OpenSC's PKCS#15 decoder can cause a crash, potentially leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2020-680?
OSV-2020-680 is an use after free vulnerability in opensc, published on 1 Jul 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18482
Crash type: Bad-free
Crash state:
sc_pkcs15_decode_prkdf_entry
fuzz_pkcs15_decode.c
Which versions are affected by OSV-2020-680?
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-2020-680?
No fix has been published for OSV-2020-680 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2020-680 being exploited?
There is no known exploitation of OSV-2020-680 in the wild and no public exploit code.