Name | CVE-2019-19481 |
Description | An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-cac1.c mishandles buffer limits for CAC certificates. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
opensc (PTS) | jessie, jessie (lts) | 0.16.0-3+deb8u3 | fixed |
| stretch (security), stretch (lts), stretch | 0.16.0-3+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 0.19.0-1+deb10u3 | fixed |
| bullseye | 0.21.0-1 | fixed |
| bookworm | 0.23.0-0.3+deb12u1 | fixed |
| sid, trixie | 0.25.1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
opensc | source | jessie | (not affected) | | | |
opensc | source | stretch | (not affected) | | | |
opensc | source | (unstable) | 0.19.0~rc1-1 | | | |
Notes
[stretch] - opensc <not-affected> (Vulnerable code not present)
[jessie] - opensc <not-affected> (Vulnerable code not present)
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18618
CAC support added in: https://github.com/OpenSC/OpenSC/commit/777e2a3751e3f6d53f056c98e9e20e42af674fb1 (0.17.0-rc1)
Drop support of CAC1: https://github.com/OpenSC/OpenSC/commit/2190bb927c739852266481d6517aaf3a07b52526 (0.19.0-rc1)
Restored minimal CAC1 driver support: https://github.com/OpenSC/OpenSC/commit/e2b1fb81e0e1339eebaa36fb90635e03f69d4da3 (0.20.0-rc1)
https://github.com/OpenSC/OpenSC/commit/b75c002cfb1fd61cd20ec938ff4937d7b1a94278
Mark 0.19.0~rc1 based version as fixed which removed the affected code, which
later was re-introduced upstream in 0.20.0~rc1 again.