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