Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2023-2102

Active Moderate

ALAS2-2023-2102 (medium): opensc

Published
27 Jun 2023
Updated
29 Jun 2023

Related CVEs

CVE identifiers linked by this publisher.

5
Publisher relationship details 5 records

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.

4

Shared package data

Applies to all 4 occurrences
  1. 1opensc

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • opensc-0.19.0-5.amzn2.aarch64
    • opensc-debuginfo-0.19.0-5.amzn2.aarch64
  2. 2opensc

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • opensc-0.19.0-5.amzn2.i686
    • opensc-debuginfo-0.19.0-5.amzn2.i686
  3. 3opensc

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • opensc-0.19.0-5.amzn2.src
  4. 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.

0

No CVSS assessments were provided.

Publisher references

10
  • CVE-2021-42779 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-42779
  • CVE-2021-42780 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-42780
  • CVE-2021-42781 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-42781
  • CVE-2021-42782 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-42782
  • CVE-2023-2977 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-2977
  • CVE-2021-42779 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42779
  • CVE-2021-42780 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42780
  • CVE-2021-42781 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42781
  • CVE-2021-42782 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42782
  • CVE-2023-2977 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-2977

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2023-2102.htmlUnknown5e822bd33ef0c3b693ddeff299e3e5e83ea04d60ea9518e973f214fbb5a5856famazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2102.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2102.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected