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.
{ "vanir_signatures": [ { "deprecated": false, "signature_type": "Line", "target": { "file": "src/libopensc/card-setcos.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "312700537045446842476960619232256392914", "12577001211443987501834181150640691110", "19328322763717515580348095176242147780", "118003578808881612881485274894912018341" ], "threshold": 0.9 }, "id": "CVE-2019-19479-6e9084bd", "source": "https://github.com/opensc/opensc/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "src/libopensc/card-setcos.c", "function": "parse_sec_attr_44" }, "signature_version": "v1", "digest": { "length": 2436.0, "function_hash": "291474278857799130683909883402632931015" }, "id": "CVE-2019-19479-f6e42b74", "source": "https://github.com/opensc/opensc/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2" } ] }