Vulnerability Details : CVE-2017-7500
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.
Exploit prediction scoring system (EPSS) score for CVE-2017-7500
Probability of exploitation activity in the next 30 days: 0.05%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 19 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2017-7500
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.2
|
HIGH | AV:L/AC:L/Au:N/C:C/I:C/A:C |
3.9
|
10.0
|
NIST |
7.8
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
7.3
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
1.3
|
5.9
|
Red Hat, Inc. |
CWE ids for CVE-2017-7500
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2017-7500
-
https://github.com/rpm-software-management/rpm/commit/c815822c8bdb138066ff58c624ae83e3a12ebfa9
Make verification match the new restricted directory symlink behavior · rpm-software-management/rpm@c815822 · GitHubThird Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7500
1450369 – (CVE-2017-7500) CVE-2017-7500 rpm: Following symlinks to directories when installing packages allows privilege escalationIssue Tracking
-
https://github.com/rpm-software-management/rpm/commit/f2d3be2a8741234faaa96f5fd05fdfdc75779a79
Restrict following symlinks to directories by ownership (CVE-2017-7500) · rpm-software-management/rpm@f2d3be2 · GitHubThird Party Advisory
Products affected by CVE-2017-7500
- cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:*
- cpe:2.3:a:rpm:rpm:4.14.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:rpm:rpm:4.14.0.0:rc2:*:*:*:*:*:*