A use after return issue was found in Opensc before version 0.22.0 in insert_pin function…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Deferred Red Hat: fix deferred
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | opensc | opensc 0.22.0 | — | No fix listed | CNA |
- opensc Vendor— Affected opensc 0.22.0 Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* | before 0.22.0 | Vulnerable | OpenSC |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* Versions before 0.22.0 Vulnerable ·OpenSC
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
opensc — GLSA-202209-03
5 records Highest priority Priority LOW 5 LOW
Other records, highest priority first
- TI-2021-18984 Memory corruption in openscPriority LOW 29
- TI-2021-18983 Memory corruption in openscPriority LOW 29
- TI-2021-18981 A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.Priority LOW 28
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-42780
- 2026-10-03 Alias added: GHSA-7wjg-mhwg-m2rc
References
Sources
- CVE-2021-42780 · CVE Program
- CVE-2021-42780 · NVD
- FIRST EPSS
- GHSA-7wjg-mhwg-m2rc · GitHub Advisory Database · CC BY 4.0
- CVE-2021-42780 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences