Bug 2211088 (CVE-2023-2977)
| Summary: | CVE-2023-2977 opensc: buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Sandipan Roy <saroy> |
| Component: | vulnerability | Assignee: | Nobody <nobody> |
| Status: | NEW --- | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | jjelen |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: |
A vulnerability was found in OpenSC. This issue causes a buffer overrun in the pkcs15 cardos_have_verifyrc_package. This flaw allows an attacker to supply a smart card package with a malformed ASN1 context. The cardos_have_verifyrc_package function scans the ASN1 buffer for two tags, where the remaining length is wrongly calculated due to a moved starting pointer, leading to a possible heap-based buffer out-of-bounds read. In cases where ASN is enabled while compiling, this problem causes a crash, and further information leaks or more damage is likely.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2211090, 2211091, 2211092, 2211093 | ||
| Bug Blocks: | 2211089 | ||
|
Description
Sandipan Roy
2023-05-30 13:28:46 UTC
Created opensc tracking bugs for this issue: Affects: fedora-37 [bug 2211091] Affects: fedora-38 [bug 2211092] This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2023:6587 https://access.redhat.com/errata/RHSA-2023:6587 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2023:7160 https://access.redhat.com/errata/RHSA-2023:7160 |