UBUNTU-CVE-2020-1945

Source
https://ubuntu.com/security/CVE-2020-1945
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-1945.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-1945
Related
Published
2020-05-14T16:15:00Z
Modified
2024-10-15T14:07:35Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / ant

Package

Name
ant
Purl
pkg:deb/ubuntu/ant?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.3-2ubuntu0.1+esm1

Affected versions

1.*

1.9.2-1
1.9.3-1
1.9.3-2
1.9.3-2build1
1.9.3-2ubuntu0.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.9.3-2ubuntu0.1+esm1",
            "binary_name": "ant"
        },
        {
            "binary_version": "1.9.3-2ubuntu0.1+esm1",
            "binary_name": "ant-doc"
        },
        {
            "binary_version": "1.9.3-2ubuntu0.1+esm1",
            "binary_name": "ant-gcj"
        },
        {
            "binary_version": "1.9.3-2ubuntu0.1+esm1",
            "binary_name": "ant-gcj-dbgsym"
        },
        {
            "binary_version": "1.9.3-2ubuntu0.1+esm1",
            "binary_name": "ant-optional"
        },
        {
            "binary_version": "1.9.3-2ubuntu0.1+esm1",
            "binary_name": "ant-optional-gcj"
        },
        {
            "binary_version": "1.9.3-2ubuntu0.1+esm1",
            "binary_name": "ant-optional-gcj-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / ant

Package

Name
ant
Purl
pkg:deb/ubuntu/ant?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.6-1ubuntu1.1+esm1

Affected versions

1.*

1.9.6-1ubuntu1
1.9.6-1ubuntu1.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.9.6-1ubuntu1.1+esm1",
            "binary_name": "ant"
        },
        {
            "binary_version": "1.9.6-1ubuntu1.1+esm1",
            "binary_name": "ant-doc"
        },
        {
            "binary_version": "1.9.6-1ubuntu1.1+esm1",
            "binary_name": "ant-gcj"
        },
        {
            "binary_version": "1.9.6-1ubuntu1.1+esm1",
            "binary_name": "ant-gcj-dbgsym"
        },
        {
            "binary_version": "1.9.6-1ubuntu1.1+esm1",
            "binary_name": "ant-optional"
        },
        {
            "binary_version": "1.9.6-1ubuntu1.1+esm1",
            "binary_name": "ant-optional-gcj"
        },
        {
            "binary_version": "1.9.6-1ubuntu1.1+esm1",
            "binary_name": "ant-optional-gcj-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / ant

Package

Name
ant
Purl
pkg:deb/ubuntu/ant?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.5-3~18.04.1~esm1

Affected versions

1.*

1.9.9-4
1.9.9-5
1.9.9-6
1.9.10-1
1.9.10-2
1.10.3-1
1.10.3-1ubuntu0.1
1.10.5-3~18.04

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.10.5-3~18.04.1~esm1",
            "binary_name": "ant"
        },
        {
            "binary_version": "1.10.5-3~18.04.1~esm1",
            "binary_name": "ant-doc"
        },
        {
            "binary_version": "1.10.5-3~18.04.1~esm1",
            "binary_name": "ant-optional"
        }
    ]
}

Ubuntu:20.04:LTS / ant

Package

Name
ant
Purl
pkg:deb/ubuntu/ant?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.10.6-1
1.10.7-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / ant

Package

Name
ant
Purl
pkg:deb/ubuntu/ant?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.7-1ubuntu0.1~esm1

Affected versions

1.*

1.10.6-1
1.10.7-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.10.7-1ubuntu0.1~esm1",
            "binary_name": "ant"
        },
        {
            "binary_version": "1.10.7-1ubuntu0.1~esm1",
            "binary_name": "ant-doc"
        },
        {
            "binary_version": "1.10.7-1ubuntu0.1~esm1",
            "binary_name": "ant-optional"
        }
    ]
}