CVE-2020-17521: Apache Groovy provides extension methods to aid with creating temporary directories.
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1% (FIRST EPSS); higher than 64.1% of all records.
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: groovy (Debian:12) 2.4.21-1; org.codehaus.groovy:groovy (Maven) 2.4.21, 2.5.14, 3.0.7; org.codehaus.groovy:groovy-all (Maven) 2.4.21, 2.5.14, 3.0.7.
- Mentioned 3 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to groovy (Debian:12) 2.4.21-1; org.codehaus.groovy:groovy (Maven) 2.4.21, 2.5.14, 3.0.7; org.codehaus.groovy:groovy-all (Maven) 2.4.21, 2.5.14, 3.0.7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Apache Groovy provides extension methods to aid with creating temporary directories. Prior to this fix, Groovy's implementation of those extension methods was using a now superseded Java JDK method call that is potentially not secure on some operating systems in some contexts. Users not using the extension methods mentioned in the advisory are not affected, but may wish to read the advisory for further details. Versions Affected: 2.0 to 2.4.20, 2.5.0 to 2.5.13, 3.0.0 to 3.0.6, and 4.0.0-alpha-1. Fixed in versions 2.4.21, 2.5.14, 3.0.7, 4.0.0-alpha-2.
- Published
- Dec 7, 2020
- Updated
- Oct 8, 2026
- EPSS
- 1.0% · 64th percentile
- CWE
- —
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.0%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | groovy | cpe:2.3:a:apache:groovy |
| apache | atlas | cpe:2.3:a:apache:atlas |
| netapp | snapcenter | cpe:2.3:a:netapp:snapcenter |
| oracle | agile engineering data management | cpe:2.3:a:oracle:agile_engineering_data_management |
| oracle | agile plm mcad connector | cpe:2.3:a:oracle:agile_plm_mcad_connector |
| oracle | agile product lifecycle management | cpe:2.3:a:oracle:agile_product_lifecycle_management |
| oracle | business process management suite | cpe:2.3:a:oracle:business_process_management_suite |
| oracle | communications brm - elastic charging engine | cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine |
| oracle | communications diameter signaling router | cpe:2.3:a:oracle:communications_diameter_signaling_router |
| oracle | communications evolved communications application server | cpe:2.3:a:oracle:communications_evolved_communications_application_server |
| oracle | communications services gatekeeper | cpe:2.3:a:oracle:communications_services_gatekeeper |
| oracle | healthcare data repository | cpe:2.3:a:oracle:healthcare_data_repository |
and 9 more
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache Groovy
- 2.0 to 2.4.20, 2.5.0 to 2.5.13, 3.0.0 to 3.0.6, 4.0.0-alpha-1affected
Affected versions · NVD (20)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache atlas2.1.0
- apache groovy2.5.0 and later · up to 2.5.13 inclusive
- apache groovy3.0.0 and later · up to 3.0.6 inclusive
- apache groovy2.0.0 and later · up to 2.4.20 inclusive
- apache groovy4.0.0
- netapp snapcenterall versions
- oracle agile engineering data management6.2.1.0
- oracle agile plm mcad connector3.4
- oracle agile plm mcad connector3.6
- oracle agile product lifecycle management9.3.3
- oracle agile product lifecycle management9.3.6
- oracle business process management suite12.2.1.3.0
- oracle business process management suite12.2.1.4.0
- oracle communications brm - elastic charging engine11.3.0.9.0
- oracle communications brm - elastic charging engine12.0.0.3
- oracle communications diameter signaling router8.4.0.0
- oracle communications evolved communications application server7.1
- oracle communications services gatekeeper6.0
- oracle communications services gatekeeper6.1
- oracle communications services gatekeeper7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | groovy | before 2.4.21-1 | 2.4.21-1 |
| Maven | org.codehaus.groovy:groovy | from 2.0.0 · before 2.4.21 | 2.4.21 |
| Maven | org.codehaus.groovy:groovy | from 2.5.0 · before 2.5.14 | 2.5.14 |
| Maven | org.codehaus.groovy:groovy | from 3.0.0 · before 3.0.7 | 3.0.7 |
| Maven | org.codehaus.groovy:groovy-all | from 2.0.0 · before 2.4.21 | 2.4.21 |
| Maven | org.codehaus.groovy:groovy-all | from 2.5.0 · before 2.5.14 | 2.5.14 |
| Maven | org.codehaus.groovy:groovy-all | from 3.0.0 · before 3.0.7 | 3.0.7 |
| openSUSE:Leap 15.2 | groovy | before 2.4.21-lp152.2.3.2 | 2.4.21-lp152.2.3.2 |
| openSUSE:Tumbleweed | groovy | before 2.4.21-2.3 | 2.4.21-2.3 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP2 | groovy | before 2.4.21-3.3.2 | 2.4.21-3.3.2 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2015-3253The MethodClosure class in runtime/MethodClosure.java in Apache Groovy 1.7.0 through 2.4.3 allows remote attackers to execute arbitrary…51Plan
- CVE-2016-6814When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses…44Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:groovy | 2.4.21-1 · Debian:12 | Package registry (OSV) |
| Maven:org.codehaus.groovy:groovy | 2.4.21 | Package registry (OSV) |
| Maven:org.codehaus.groovy:groovy | 2.5.14 | Package registry (OSV) |
| Maven:org.codehaus.groovy:groovy | 3.0.7 | Package registry (OSV) |
| Maven:org.codehaus.groovy:groovy-all | 2.4.21 | Package registry (OSV) |
| Maven:org.codehaus.groovy:groovy-all | 2.5.14 | Package registry (OSV) |
| Maven:org.codehaus.groovy:groovy-all | 3.0.7 | Package registry (OSV) |
| opensuse:groovy | 2.4.21-lp152.2.3.2 · openSUSE:Leap 15.2 | Package registry (OSV) |
| suse:groovy | 2.4.21-3.3.2 · SUSE:Linux Enterprise Module for Development Tools 15 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0105 · Feb 2, 2022(Oracle Güvenlik Zafiyeti)
- TR-21-0701 · Sep 3, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0331 · Apr 21, 2021(Oracle Güvenlik Uyarısı Yayınladı)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (2)
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- lists.apache.org/thread.html/r4b2f13c302eec98838ff7475253091fb9b75bc1038016ba00ebf6c08%40%3Cdev.atlas.apache.org%3E
- lists.apache.org/thread.html/ra9dab34bf8625511f23692ad0fcee2725f782e9aad6c5cdff6cf4465%40%3Cnotifications.groovy.apache.org%3E
- lists.apache.org/thread.html/rea63a4666ba245d2892471307772a2d8ce0f0741f341d6576625c1b3%40%3Cdev.atlas.apache.org%3E
- security.netapp.com/advisory/ntap-20201218-0006/
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2021.html
- www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com/security-alerts/cpujul2022.html
- www.oracle.com/security-alerts/cpuoct2021.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.