USN-7346-1

Source
https://ubuntu.com/security/notices/USN-7346-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7346-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7346-1
Related
Published
2025-03-12T05:37:20.134382Z
Modified
2025-03-12T05:37:20.134382Z
Summary
opensc vulnerabilities
Details

It was discovered that OpenSC did not correctly handle certain memory operations, which could lead to a use-after-free vulnerability. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-42780)

It was discovered that OpenSC did not correctly handle certain memory operations, which could lead to a stack buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-42782)

It was discovered that OpenSC did not correctly handle the length of certain buffers, which could lead to a out-of-bounds access vulnerability. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-2977)

Deepanjan Pal discovered that OpenSC did not correctly authenticate a zero length PIN. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-40660)

It was discovered that OpenSC did not correctly handle certain memory operations. A physically proximate attacker could possibly use this issue to compromise key generation, certificate loading and other card management operations. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-40661)

Hubert Kario, Michal Shagam and Eyal Ronen discovered that OpenSC had a timing side-channel and incorrectly handled RSA padding. An attacker could possibly use this issue to recover sensitive information. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-5992)

Matteo Marini discovered that OpenSC did not properly manage memory due to certain uninitialized variables. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-45615)

Matteo Marini discovered that OpenSC did not correctly handle certain memory operations. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-45616, CVE-2024-45617)

Matteo Marini discovered that OpenSC did not correctly handle certain memory operations. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. (CVE-2024-45618, CVE-2024-45620)

Matteo Marini discovered that OpenSC did not correctly handle certain memory operations. A physically proximate attacker could possibly use this issue to gain unauthorized access to certain systems. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-45619)

It was discovered that OpenSC did not correctly handle certain memory operations, which could lead to a buffer overflow. A physically proximate attacker could possibly use this issue to compromise card management operations during enrollment and modification. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-8443)

References

Affected packages

Ubuntu:Pro:16.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc@0.15.0-1ubuntu1+esm2?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.15.0-1ubuntu1+esm2

Affected versions

0.*

0.15.0-1ubuntu1
0.15.0-1ubuntu1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.15.0-1ubuntu1+esm2",
            "binary_name": "opensc"
        },
        {
            "binary_version": "0.15.0-1ubuntu1+esm2",
            "binary_name": "opensc-dbgsym"
        },
        {
            "binary_version": "0.15.0-1ubuntu1+esm2",
            "binary_name": "opensc-pkcs11"
        },
        {
            "binary_version": "0.15.0-1ubuntu1+esm2",
            "binary_name": "opensc-pkcs11-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc@0.17.0-3ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic

Affected ranges

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

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

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

Ubuntu:Pro:20.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc@0.20.0-3ubuntu0.1~esm2?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~esm2

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

Ecosystem specific

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

Ubuntu:Pro:22.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc@0.22.0-1ubuntu2+esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.22.0-1ubuntu2+esm1

Affected versions

0.*

0.21.0-1ubuntu1
0.22.0-1ubuntu2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.22.0-1ubuntu2+esm1",
            "binary_name": "opensc"
        },
        {
            "binary_version": "0.22.0-1ubuntu2+esm1",
            "binary_name": "opensc-dbgsym"
        },
        {
            "binary_version": "0.22.0-1ubuntu2+esm1",
            "binary_name": "opensc-pkcs11"
        },
        {
            "binary_version": "0.22.0-1ubuntu2+esm1",
            "binary_name": "opensc-pkcs11-dbgsym"
        }
    ]
}

Ubuntu:24.10 / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc@0.25.1-2ubuntu1.1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.25.1-2ubuntu1.1

Affected versions

0.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.25.1-2ubuntu1.1",
            "binary_name": "opensc"
        },
        {
            "binary_version": "0.25.1-2ubuntu1.1",
            "binary_name": "opensc-dbgsym"
        },
        {
            "binary_version": "0.25.1-2ubuntu1.1",
            "binary_name": "opensc-pkcs11"
        },
        {
            "binary_version": "0.25.1-2ubuntu1.1",
            "binary_name": "opensc-pkcs11-dbgsym"
        }
    ]
}

Ubuntu:Pro:24.04:LTS / opensc

Package

Name
opensc
Purl
pkg:deb/ubuntu/opensc@0.25.0~rc1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.25.0~rc1-1ubuntu0.1~esm1

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

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