UBUNTU-CVE-2021-42782

Source
https://ubuntu.com/security/CVE-2021-42782
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42782.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-42782
Upstream
Downstream
Related
Published
2022-04-18T17:15:00Z
Modified
2025-07-16T08:27:02.761213Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.

References

Affected packages

Ubuntu:Pro:16.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc@0.15.0-1ubuntu1+esm3?arch=source&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
0.15.0-1ubuntu1+esm2
0.15.0-1ubuntu1+esm3

Ubuntu:Pro:18.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc@0.17.0-3ubuntu0.1~esm3?arch=source&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
0.17.0-3ubuntu0.1~esm2
0.17.0-3ubuntu0.1~esm3

Ubuntu:Pro:20.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc@0.20.0-3ubuntu0.1~esm4?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.20.0-3ubuntu0.1~esm4

Affected versions

0.*

0.19.0-2
0.20.0-1
0.20.0-2
0.20.0-3
0.20.0-3ubuntu0.1~esm1
0.20.0-3ubuntu0.1~esm2
0.20.0-3ubuntu0.1~esm3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "opensc",
            "binary_version": "0.20.0-3ubuntu0.1~esm4"
        },
        {
            "binary_name": "opensc-dbgsym",
            "binary_version": "0.20.0-3ubuntu0.1~esm4"
        },
        {
            "binary_name": "opensc-pkcs11",
            "binary_version": "0.20.0-3ubuntu0.1~esm4"
        },
        {
            "binary_name": "opensc-pkcs11-dbgsym",
            "binary_version": "0.20.0-3ubuntu0.1~esm4"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}