OESA-2021-1277

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1277
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1277.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1277
Upstream
Published
2021-07-24T11:03:04Z
Modified
2025-08-12T05:09:13.166260Z
Summary
ant security update
Details

Ant is a Java based build tool. In theory it is kind of like "make" without makes wrinkles and with the full portability of pure java code.

Security Fix(es):

When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.(CVE-2021-36373)

When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory that leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Commonly used derived formats from ZIP archives are for instance JAR files and many office files. Apache Ant prior to 1.9.16 and 1.10.11 were affected.(CVE-2021-36374)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / ant

Package

Name
ant
Purl
pkg:rpm/openEuler/ant&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.8-4.oe1

Ecosystem specific

{
    "src": [
        "ant-1.10.8-4.oe1.src.rpm"
    ],
    "noarch": [
        "ant-apache-regexp-1.10.8-4.oe1.noarch.rpm",
        "ant-lib-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-resolver-1.10.8-4.oe1.noarch.rpm",
        "ant-commons-logging-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-log4j-1.10.8-4.oe1.noarch.rpm",
        "ant-javamail-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-oro-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-xalan2-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-bsf-1.10.8-4.oe1.noarch.rpm",
        "ant-antlr-1.10.8-4.oe1.noarch.rpm",
        "ant-jsch-1.10.8-4.oe1.noarch.rpm",
        "ant-xz-1.10.8-4.oe1.noarch.rpm",
        "ant-jmf-1.10.8-4.oe1.noarch.rpm",
        "ant-help-1.10.8-4.oe1.noarch.rpm",
        "ant-commons-net-1.10.8-4.oe1.noarch.rpm",
        "ant-junit-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-bcel-1.10.8-4.oe1.noarch.rpm",
        "ant-jdepend-1.10.8-4.oe1.noarch.rpm",
        "ant-junit5-1.10.8-4.oe1.noarch.rpm",
        "ant-1.10.8-4.oe1.noarch.rpm",
        "ant-testutil-1.10.8-4.oe1.noarch.rpm",
        "ant-swing-1.10.8-4.oe1.noarch.rpm",
        "ant-imageio-1.10.8-4.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / ant

Package

Name
ant
Purl
pkg:rpm/openEuler/ant&distro=openEuler-20.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.8-4.oe1

Ecosystem specific

{
    "src": [
        "ant-1.10.8-4.oe1.src.rpm"
    ],
    "noarch": [
        "ant-apache-regexp-1.10.8-4.oe1.noarch.rpm",
        "ant-lib-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-resolver-1.10.8-4.oe1.noarch.rpm",
        "ant-commons-logging-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-log4j-1.10.8-4.oe1.noarch.rpm",
        "ant-javamail-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-oro-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-xalan2-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-bsf-1.10.8-4.oe1.noarch.rpm",
        "ant-antlr-1.10.8-4.oe1.noarch.rpm",
        "ant-jsch-1.10.8-4.oe1.noarch.rpm",
        "ant-xz-1.10.8-4.oe1.noarch.rpm",
        "ant-jmf-1.10.8-4.oe1.noarch.rpm",
        "ant-help-1.10.8-4.oe1.noarch.rpm",
        "ant-commons-net-1.10.8-4.oe1.noarch.rpm",
        "ant-junit-1.10.8-4.oe1.noarch.rpm",
        "ant-apache-bcel-1.10.8-4.oe1.noarch.rpm",
        "ant-jdepend-1.10.8-4.oe1.noarch.rpm",
        "ant-junit5-1.10.8-4.oe1.noarch.rpm",
        "ant-1.10.8-4.oe1.noarch.rpm",
        "ant-testutil-1.10.8-4.oe1.noarch.rpm",
        "ant-swing-1.10.8-4.oe1.noarch.rpm",
        "ant-imageio-1.10.8-4.oe1.noarch.rpm"
    ]
}