Advisory

DEBIAN-CVE-2023-2977

Also known as: CVE-2023-2977

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Dates

Published
2023-06-01 01:15 UTC
Modified
2026-10-26 18:00 UTC

Affected packages and fixes

opensc

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 0.23.0-0.3 (ecosystem)

Fixed versions

0.23.0-0.3

Fix

  • Fixed version 0.23.0-0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

opensc

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.23.0-0.3 (ecosystem)

Fixed versions

0.23.0-0.3

Fix

  • Fixed version 0.23.0-0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

opensc

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.23.0-0.3 (ecosystem)

Fixed versions

0.23.0-0.3

Fix

  • Fixed version 0.23.0-0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences