net-snmp before 5.8.1.pre1 has a double free in usmfreeusmStateReference in snmplib/snmpusm.c via an SNMPv3 GetBulk request. NOTE: this affects net-snmp packages shipped to end users by multiple Linux distributions, but might not affect an upstream release.
[
{
"signature_type": "Function",
"target": {
"function": "_clone_pdu_header",
"file": "snmplib/snmp_client.c"
},
"source": "https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9",
"deprecated": false,
"id": "CVE-2019-20892-382d164f",
"signature_version": "v1",
"digest": {
"length": 1698.0,
"function_hash": "140177603995878720991195551689799129618"
}
},
{
"signature_type": "Line",
"target": {
"file": "snmplib/snmpusm.c"
},
"source": "https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9",
"deprecated": false,
"id": "CVE-2019-20892-5333c152",
"signature_version": "v1",
"digest": {
"line_hashes": [
"44242992634025686115409545502120928476",
"29672997187899204588248216402839883043",
"40794116973937965067530691483828958859",
"132414243160031557982177198766023395101",
"305725171296417443372987251459616736940",
"175593073472431576251405895329683411445",
"287035748120865746564382429203163938637",
"26915744975623297004250391564358283780",
"103531736579679216853410519603960826911",
"265021316400814718833376606064233556991",
"199748301974971405245209158318257804530",
"196574635798182203035160887345760324828",
"123634601959712454489722241175334570171",
"186331237900610919361576066626885612475",
"254426379512619478811337930659412903544",
"106128518620748907713695403676523221318",
"27455802107373568368114353775119213963",
"180751480742087284200705330639104143788",
"324741654969520679044094707367129846028",
"277034873175065332979035382998353812755",
"312446659726961885171452558104658471296",
"330956671658082276948001970066774507964",
"308620508630188523687389350799315713632",
"231611819546873415251971449950058584428",
"164895656350574865052687335113615663447",
"133363327825204198443282752987767537554",
"183909225123220272610064491435452202287",
"246580444918460405508204234492900917192",
"120133148926244489050891959865597125416",
"84544450504787606045186063168188308394",
"258480738828067149461215868270467629626",
"200281615836911523953703462310525338383",
"154808664236195465024505904650726730672",
"163254431129950724490533090278976514982",
"173325409493447389001449165376081877882",
"63932343873398434131318958950339079706",
"71061357178572249993894223874099466253",
"261802238718059722677624567276162217792",
"87797271725617132585865738775349286592"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"target": {
"function": "usm_malloc_usmStateReference",
"file": "snmplib/snmpusm.c"
},
"source": "https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9",
"deprecated": false,
"id": "CVE-2019-20892-57223eb1",
"signature_version": "v1",
"digest": {
"length": 112.0,
"function_hash": "159156942628545966179758038413846966703"
}
},
{
"signature_type": "Function",
"target": {
"function": "usm_free_usmStateReference",
"file": "snmplib/snmpusm.c"
},
"source": "https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9",
"deprecated": false,
"id": "CVE-2019-20892-6d822333",
"signature_version": "v1",
"digest": {
"length": 759.0,
"function_hash": "88064372202649158328320107912822422421"
}
},
{
"signature_type": "Line",
"target": {
"file": "snmplib/snmp_client.c"
},
"source": "https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9",
"deprecated": false,
"id": "CVE-2019-20892-81da526f",
"signature_version": "v1",
"digest": {
"line_hashes": [
"137896095288191195591564619137773233729",
"267484301248047181893885793648605803471",
"28906083445685974119879737775352735561",
"225505363771031082041171773542489953799",
"127773062946225179371899670915664919881",
"148527884924071986367937389607784222372",
"229361921883869757802187283366909677861",
"204465326253106719231605866198712229221",
"241137018290310320160035791315241935320",
"98321346952511963867742770113849008706",
"110223236143194705002654652711567162570",
"63927623152965480918902525393645277601",
"73090936670646882255427829759851757884",
"133153891305900436900955798933393314973",
"249273827103702677874325570121234344396",
"229162520623235065258140088734823300782",
"74490835845961382400778818603400143635",
"306358284737391028742449182024578498023"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"target": {
"function": "init_usm",
"file": "snmplib/snmpusm.c"
},
"source": "https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9",
"deprecated": false,
"id": "CVE-2019-20892-d1526ea7",
"signature_version": "v1",
"digest": {
"length": 2108.0,
"function_hash": "280782372303714082953061013312602056696"
}
}
]