CVE-2019-19479

Source
https://cve.org/CVERecord?id=CVE-2019-19479
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19479.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-19479
Downstream
Related
Published
2019-12-01T23:15:10.653Z
Modified
2026-07-08T20:29:36.586438Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-setcos.c has an incorrect read operation during parsing of a SETCOS file attribute.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux"
        },
        {
            "extracted_events": [
                {
                    "introduced": "31"
                },
                {
                    "last_affected": "31"
                }
            ],
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/opensc/opensc

Affected ranges

Type
GIT
Repo
https://github.com/opensc/opensc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
Last affected
Fixed
Database specific
{
    "cpe": [
        "cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:opensc_project:opensc:0.20.0:rc1:*:*:*:*:*:*",
        "cpe:2.3:a:opensc_project:opensc:0.20.0:rc2:*:*:*:*:*:*",
        "cpe:2.3:a:opensc_project:opensc:0.20.0:rc3:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.19.0"
        },
        {
            "introduced": "0.20.0-rc1"
        },
        {
            "last_affected": "0.20.0-rc1"
        },
        {
            "introduced": "0.20.0-rc2"
        },
        {
            "last_affected": "0.20.0-rc2"
        },
        {
            "introduced": "0.20.0-rc3"
        },
        {
            "last_affected": "0.20.0-rc3"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.12.2
0.12.2-rc1
0.13.0
0.13.0pre1
0.13.0rc1
0.14.0
0.14.0rc2
0.14.0rtm
0.15.0
0.16.0
0.17.0
0.17.0-rc1
0.17.0-rc2
0.18.0
0.18.0-rc1
0.18.0-rc2
0.19.0
0.19.0-rc1
0.20.0-rc1
0.20.0-rc2
0.20.0-rc3
v0.*
v0.12.2
v0.16.0-pre1

Database specific

vanir_signatures_modified
"2026-07-08T20:29:36Z"
vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "312700537045446842476960619232256392914",
                "12577001211443987501834181150640691110",
                "19328322763717515580348095176242147780",
                "118003578808881612881485274894912018341"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/opensc/opensc/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2",
        "id": "CVE-2019-19479-6e9084bd",
        "target": {
            "file": "src/libopensc/card-setcos.c"
        }
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 2436.0,
            "function_hash": "291474278857799130683909883402632931015"
        },
        "signature_version": "v1",
        "source": "https://github.com/opensc/opensc/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2",
        "id": "CVE-2019-19479-f6e42b74",
        "target": {
            "function": "parse_sec_attr_44",
            "file": "src/libopensc/card-setcos.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19479.json"