The asn1berdecoder function in lib/asn1decoder.c in the Linux kernel before 4.3 allows attackers to cause a denial of service (panic) via an ASN.1 BER file that lacks a public key, leading to mishandling by the publickeyverifysignature function in crypto/asymmetrickeys/publickey.c.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-2053.json"
[
{
"target": {
"file": "lib/asn1_decoder.c"
},
"digest": {
"line_hashes": [
"178971650126204550211173981328629074328",
"283334343931527109343445676695750736957",
"235878288477697304485892299994472695091",
"313467498227784331504506209443531757798",
"124158822358156558099835863584369980422",
"200279186005651423963525106520593489820"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2016-2053-8ffe6bd7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0d62e9dd6da45bbf0f33a8617afc5fe774c8f45f",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "lib/asn1_decoder.c",
"function": "asn1_ber_decoder"
},
"digest": {
"length": 7022.0,
"function_hash": "174631537868486646478366618092252297749"
},
"signature_type": "Function",
"id": "CVE-2016-2053-a62bf42c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0d62e9dd6da45bbf0f33a8617afc5fe774c8f45f",
"deprecated": false,
"signature_version": "v1"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-2053.json"
[
{
"target": {
"file": "lib/asn1_decoder.c",
"function": "asn1_ber_decoder"
},
"digest": {
"length": 7022.0,
"function_hash": "174631537868486646478366618092252297749"
},
"signature_type": "Function",
"id": "CVE-2016-2053-e311e896",
"source": "https://github.com/torvalds/linux/commit/0d62e9dd6da45bbf0f33a8617afc5fe774c8f45f",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "lib/asn1_decoder.c"
},
"digest": {
"line_hashes": [
"178971650126204550211173981328629074328",
"283334343931527109343445676695750736957",
"235878288477697304485892299994472695091",
"313467498227784331504506209443531757798",
"124158822358156558099835863584369980422",
"200279186005651423963525106520593489820"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2016-2053-e91f750b",
"source": "https://github.com/torvalds/linux/commit/0d62e9dd6da45bbf0f33a8617afc5fe774c8f45f",
"deprecated": false,
"signature_version": "v1"
}
]