Vulnerability Name:

CVE-2019-19481 (CCN-172411)

Assigned:2019-10-30
Published:2019-10-30
Updated:2020-01-24
Summary: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.
CVSS v3 Severity:4.6 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
4.0 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Physical
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
4.6 Medium (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
4.0 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Physical
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:2.1 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-119
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2019-19481

Source: MLIST
Type: Mailing List
[oss-security] 20191229 OpenSC 0.20.0 released

Source: MISC
Type: Permissions Required, Third Party Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18618

Source: XF
Type: UNKNOWN
opensc-cve201919481-bo(172411)

Source: CCN
Type: OpenSC GIT Repository
cac1: Correctly handle the buffer limits

Source: MISC
Type: Patch
https://github.com/OpenSC/OpenSC/commit/b75c002cfb1fd61cd20ec938ff4937d7b1a94278

Source: FEDORA
Type: UNKNOWN
FEDORA-2020-3c93790abe

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2019-19481

Vulnerable Configuration:Configuration 1:
  • cpe:/a:opensc_project:opensc:0.19.0:-:*:*:*:*:*:*
  • OR cpe:/a:opensc_project:opensc:0.20.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:opensc_project:opensc:0.20.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:opensc_project:opensc:0.20.0:rc3:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:8::baseos:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:opensc_project:opensc:0.19.0:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.redhat.rhsa:def:20204483
    P
    RHSA-2020:4483: opensc security, bug fix, and enhancement update (Moderate)
    2020-11-04
    oval:com.ubuntu.disco:def:2019194810000000
    V
    CVE-2019-19481 on Ubuntu 19.04 (disco) - low.
    2019-12-02
    oval:com.ubuntu.bionic:def:2019194810000000
    V
    CVE-2019-19481 on Ubuntu 18.04 LTS (bionic) - low.
    2019-12-02
    oval:com.ubuntu.xenial:def:2019194810000000
    V
    CVE-2019-19481 on Ubuntu 16.04 LTS (xenial) - low.
    2019-12-02
    BACK
    opensc_project opensc 0.19.0 -
    opensc_project opensc 0.20.0 rc1
    opensc_project opensc 0.20.0 rc2
    opensc_project opensc 0.20.0 rc3
    opensc_project opensc 0.19.0 -