It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changing ownership and permissions of an arbitrary directory, and RPM files being placed in an arbitrary destination. An attacker, with write access to a directory in which a subdirectory will be installed, could redirect that directory to an arbitrary location and gain root privilege.
{ "vanir_signatures": [ { "source": "https://github.com/rpm-software-management/rpm/commit/c815822c8bdb138066ff58c624ae83e3a12ebfa9", "signature_version": "v1", "signature_type": "Function", "id": "CVE-2017-7500-2910d3ee", "target": { "file": "lib/verify.c", "function": "rpmfilesVerify" }, "digest": { "function_hash": "233530214035563793370843555192189641103", "length": 4307.0 }, "deprecated": false }, { "source": "https://github.com/rpm-software-management/rpm/commit/c815822c8bdb138066ff58c624ae83e3a12ebfa9", "signature_version": "v1", "signature_type": "Line", "id": "CVE-2017-7500-43a12259", "target": { "file": "lib/verify.c" }, "digest": { "line_hashes": [ "239671988295184614856978349487568478067", "19450716624506856550250097797469092389", "250682327474676124318368018576928341558", "111235334660195848448456541765670895264", "329795812349938396996022338722829754201", "201187616379880976329562329711075448237" ], "threshold": 0.9 }, "deprecated": false }, { "source": "https://github.com/rpm-software-management/rpm/commit/f2d3be2a8741234faaa96f5fd05fdfdc75779a79", "signature_version": "v1", "signature_type": "Function", "id": "CVE-2017-7500-43e41be3", "target": { "file": "lib/fsm.c", "function": "rpmPackageFilesInstall" }, "digest": { "function_hash": "48067076022380632713499368211808245130", "length": 3235.0 }, "deprecated": false }, { "source": "https://github.com/rpm-software-management/rpm/commit/f2d3be2a8741234faaa96f5fd05fdfdc75779a79", "signature_version": "v1", "signature_type": "Line", "id": "CVE-2017-7500-9f11fe1d", "target": { "file": "lib/fsm.c" }, "digest": { "line_hashes": [ "264126973091301003040853053494319189921", "298447752790504042642254408681848776755", "294692896974570784040787141269428342145", "138067321898803316349977720914849998191", "158096781839352298848545423017932260947", "93269803876808907005176407753494945294", "137046692173860993461998873713267951363", "137302550875407019462629274778944273964", "41347062033662188884304045978624277588", "260383492752053098008012928430949396045", "244654994588480788169805851042092453307", "211461232812925818734804653279391152314", "204240354157755644958980960327127388508", "302694156893773645515401717223033417921", "10471339086552282659663593381957303989", "43580384629917002049581188334897998765", "332554652458105320167297679298012300484" ], "threshold": 0.9 }, "deprecated": false }, { "source": "https://github.com/rpm-software-management/rpm/commit/f2d3be2a8741234faaa96f5fd05fdfdc75779a79", "signature_version": "v1", "signature_type": "Function", "id": "CVE-2017-7500-bee95872", "target": { "file": "lib/fsm.c", "function": "fsmVerify" }, "digest": { "function_hash": "312799423906078026915657293693984079195", "length": 1431.0 }, "deprecated": false } ] }