Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 507
Alerts This Week
Warning Icon 1 507

Ubuntu 7346-2: OpenSC Security Advisory Updates

ubuntu
Calendar Grey March 28, 2025
Scroller Ubuntu
Ubuntu 20.04, 18.04, and 16.04 face OpenSC regression issues causing potential denial of service. Security updates advised.
USN-7346-1 introduced a regression in OpenSC.

Summary

USN-7346-1 introduced a regression in OpenSC.

Software Description:

- opensc: Smart card utilities with support for PKCS#15 compatible cards

Details:

USN-7346-1 fixed vulnerabilities in OpenSC. The update introduced a

regression in Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. The

security fix has been removed pending further investigation.

We apologize for the inconvenience.

Original advisory 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 se...

Read the Full Advisory

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 20.04 LTS
   opensc                          0.20.0-3ubuntu0.1~esm3
                                   Available with Ubuntu Pro
   opensc-pkcs11                   0.20.0-3ubuntu0.1~esm3
                                   Available with Ubuntu Pro

Ubuntu 18.04 LTS
   opensc                          0.17.0-3ubuntu0.1~esm3
                                   Available with Ubuntu Pro
   opensc-pkcs11                   0.17.0-3ubuntu0.1~esm3
                                   Available with Ubuntu Pro

Ubuntu 16.04 LTS
   opensc                          0.15.0-1ubuntu1+esm3
                                   Available with Ubuntu Pro
   opensc-pkcs11                   0.15.0-1ubuntu1+esm3
                                   Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

  https://ubuntu.com/security/notices/USN-7346-2

  https://ubuntu.com/security/notices/USN-7346-1

  https://bugs.launchpad.net/ubuntu/+source/opensc/+bug/2104948

Ubuntu Security Notice USN-7346-2

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.