ALAS2-2023-2102
Active ModerateALAS2-2023-2102 (medium): opensc
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 5 records
Shared by all 5 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2023-2102.html| CVE |
|---|
| CVE-2021-42779 |
| CVE-2021-42780 |
| CVE-2021-42781 |
| CVE-2021-42782 |
| CVE-2023-2977 |
Description
A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid. (CVE-2021-42779) 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. (CVE-2021-42780) Heap buffer overflow issues were found in Opensc before version 0.22.0 in
Read full publisher description 1140 characters
A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid. (CVE-2021-42779) 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. (CVE-2021-42780) Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the library. (CVE-2021-42781) Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library. (CVE-2021-42782) A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package. The attacker can supply a smart card package with malformed ASN1 context. The cardos_have_verifyrc_package function scans the ASN1 buffer for 2 tags, where remaining length is wrongly caculated due to moved starting pointer. This leads to possible heap-based buffer oob read. In cases where ASAN is enabled while compiling this causes a crash. Further info leak or more damage is possible. (CVE-2023-2977)
Solution
Run yum update opensc or yum update --advisory ALAS2-2023-2102 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1opensc
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- opensc-0.19.0-5.amzn2.aarch64
- opensc-debuginfo-0.19.0-5.amzn2.aarch64
-
2opensc
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- opensc-0.19.0-5.amzn2.i686
- opensc-debuginfo-0.19.0-5.amzn2.i686
-
3opensc
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- opensc-0.19.0-5.amzn2.src
-
4opensc
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- opensc-0.19.0-5.amzn2.x86_64
- opensc-debuginfo-0.19.0-5.amzn2.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
10- CVE-2021-42779 https://access.redhat.com/security/cve/CVE-2021-42779
- CVE-2021-42780 https://access.redhat.com/security/cve/CVE-2021-42780
- CVE-2021-42781 https://access.redhat.com/security/cve/CVE-2021-42781
- CVE-2021-42782 https://access.redhat.com/security/cve/CVE-2021-42782
- CVE-2023-2977 https://access.redhat.com/security/cve/CVE-2023-2977
- CVE-2021-42779 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42779
- CVE-2021-42780 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42780
- CVE-2021-42781 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42781
- CVE-2021-42782 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42782
- CVE-2023-2977 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-2977
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2023-2102.html | Unknown | 5e822bd33ef0c3b693ddeff299e3e5e83ea04d60ea9518e973f214fbb5a5856f | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2023-2102.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2023-2102.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |