An issue was discovered in tnef before 1.4.13. Four type confusions have been identified in the fileaddmapi_attrs() function. These might lead to invalid read and write operations, controlled by an attacker.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"198026675381378598136918978559635950715",
"197883137458325931566429736762297798740",
"55569942874643385056030519403425481236",
"315820125707022736023271826673519098703",
"184317996038389850484672192953773378205",
"185285453203974010001543747009674356702",
"80138880471179500448504686847742226734",
"118583104950737412050101628815895397609",
"159019980136055312002084872532628473077",
"335174517789474268564351573248308841282",
"196739265562039891779507603759542927473",
"145465205284422879697832471009261215398",
"266273557503046323279278437259720171094",
"162230972970127941688280272217823109658",
"198924396823051808120438216530619477695",
"245336452210896202368680760890556705875"
]
},
"signature_type": "Line",
"target": {
"file": "src/tnef.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
"id": "CVE-2017-6310-41fb9249"
},
{
"digest": {
"function_hash": "319602346909933704118455433288689047607",
"length": 477.0
},
"signature_type": "Function",
"target": {
"function": "get_html_data",
"file": "src/tnef.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
"id": "CVE-2017-6310-72677e04"
},
{
"digest": {
"function_hash": "310883956494664830628554080819429850455",
"length": 2259.0
},
"signature_type": "Function",
"target": {
"function": "parse_file",
"file": "src/tnef.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
"id": "CVE-2017-6310-8620f38b"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"138151071769226433556075413545005393756",
"277135416163209951123219148322374609393",
"126412037363254035877338532476883334812",
"331374001695761126880190164601914750198",
"99585233513506211196752181403776154016",
"314080117118958604106246441226585877142",
"172483809180712672819741677129296806873",
"77889792418256651879989494878836407546",
"213532925311297395984295287185050104659",
"61778962349337913486931847971946079889",
"121809170507165259310226444774030796799",
"101885054850481646565370498312837885335",
"36113953897462618777792659918891145030",
"52095504080876854231110348601564875882",
"157692707517904794838219806960429053206",
"213513085965865402180640687198932305285",
"96058814765431795254970051666436839601"
]
},
"signature_type": "Line",
"target": {
"file": "src/file.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
"id": "CVE-2017-6310-878b188d"
},
{
"digest": {
"function_hash": "256870819728380308798399002191052231",
"length": 1190.0
},
"signature_type": "Function",
"target": {
"function": "file_add_mapi_attrs",
"file": "src/file.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
"id": "CVE-2017-6310-bc847a50"
}
]