CVE-2020-7931
Last modified
CVE-2020-7931 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. In JFrog Artifactory 5.x and 6.x, insecure FreeMarker template processing leads to remote code execution, e.g., by modifying a .ssh/authorized_keys file. Patches are available for various versions between 5.11.8 and 6.16.0. EPSS estimates a 5.49% chance of exploitation in the next 30 days.
Description
In JFrog Artifactory 5.x and 6.x, insecure FreeMarker template processing leads to remote code execution, e.g., by modifying a .ssh/authorized_keys file. Patches are available for various versions between 5.11.8 and 6.16.0. The issue exists because use of the DefaultObjectWrapper class makes certain Java functions accessible to a template.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jfrog | Artifactory | < 5.11.8 |
| Jfrog | Artifactory | >= 6.0.0, < 6.1.6 |
| Jfrog | Artifactory | >= 6.2.0, < 6.3.9 |
| Jfrog | Artifactory | >= 6.4.0, < 6.7.8 |
| Jfrog | Artifactory | >= 6.8.0, < 6.8.17 |
| Jfrog | Artifactory | >= 6.9.0, < 6.9.6 |
| Jfrog | Artifactory | >= 6.10.0, < 6.10.9 |
| Jfrog | Artifactory | >= 6.11.0, < 6.11.7 |
| Jfrog | Artifactory | >= 6.12.0, < 6.12.3 |
| Jfrog | Artifactory | >= 6.13.0, < 6.13.2 |
| Jfrog | Artifactory | >= 6.14.0, < 6.14.2 |
| Jfrog | Artifactory | >= 6.15.0, < 6.15.1 |
References
- https://github.com/atredispartners/advisories/blob/master/ATREDIS-2019-0006.mdExploit, Third Party Advisory
- https://www.jfrog.com/confluence/display/RTF/Release+NotesRelease Notes, Vendor Advisory
- https://github.com/atredispartners/advisories/blob/master/ATREDIS-2019-0006.mdExploit, Third Party Advisory
- https://www.jfrog.com/confluence/display/RTF/Release+NotesRelease Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7931?
How severe is CVE-2020-7931?
How do I fix CVE-2020-7931?
Are you affected by CVE-2020-7931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
