GHSA-2jc3-8rq8-7x2x
Record from GitHub Advisory Database · Published May 24, 2022
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.
Risk scores
Timeline
- May 24, 2022 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-2jc3-8rq8-7x2x
vulnetix vdb fixes GHSA-2jc3-8rq8-7x2x
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-2jc3-8rq8-7x2x/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/rpm-software-management/rpm/commit/c815822c8bdb138066ff58c624ae83e3a12ebfa9 url
- https://nvd.nist.gov/vuln/detail/CVE-2017-7500 advisory
- https://github.com/rpm-software-management/rpm/commit/f2d3be2a8741234faaa96f5fd05fdfdc75779a79 url
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7500 url