CVE intelligence and bounded remediation
CVE-2020-1945 — Apache Ant security vulnerability
Medium
CVSS 6.3
Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also copy files from the temporary directory back into the build tree allowing an attacker to inject modified source files into the build process.
- Severity
- Medium
- CVSS
- 6.3 (3.1)
- Published
- 2020-05-14
- CISA KEV
- Not currently listed
- Ecosystem
- java/maven
- Weaknesses
- CWE-668
Affected products
- apache / ant
- canonical / ubuntu_linux / 19.10
- fedoraproject / fedora / 31
- fedoraproject / fedora / 32
- opensuse / leap / 15.2
- oracle / agile_engineering_data_management / 6.2.1.0
Matched remediation archetype
Information disclosure and sensitive data exposure
This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.
Check exposure
- Trace sensitive data through responses, errors, logs, metrics, traces, caches, exports, files, backups, and client bundles.
- Identify affected subjects, tenants, retention windows, access controls, and downstream copies without opening unnecessary sensitive records.
- Review metadata, timing, status, length, and existence signals as well as direct content disclosure.
Remediate safely
- Minimize collection and output, apply field-level authorization and redaction at a centralized boundary, and return generic external errors.
- Remove secrets and sensitive data from logs, artifacts, URLs, caches, and client-side bundles; rotate credentials that may have been exposed.
- Update the affected component and add synthetic-data tests for response, error, observability, and export paths.
Authoritative sources
Complete CVE record and remediation plan
The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.