UBUNTU-CVE-2023-2977

Source
https://ubuntu.com/security/CVE-2023-2977
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2977.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-2977
Related
Published
2023-06-01T01:15:00Z
Modified
2024-10-15T14:11:27Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardoshaveverifyrcpackage. The attacker can supply a smart card package with malformed ASN1 context. The cardoshaveverifyrcpackage 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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.15.0-1ubuntu1
0.15.0-1ubuntu1+esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.17.0-1
0.17.0-2
0.17.0-2build1
0.17.0-3
0.17.0-3ubuntu0.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.19.0-2
0.20.0-1
0.20.0-2
0.20.0-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.21.0-1ubuntu1
0.22.0-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.25.0~rc1-1build2
0.25.1-1
0.25.1-2ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.23.0-1ubuntu4
0.24.0~rc1-1
0.25.0~rc1-1
0.25.0~rc1-1build1
0.25.0~rc1-1build2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}