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.
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "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" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "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" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "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" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "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" } ] }