oesa-2021-1277
Vulnerability from osv_openeuler
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)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"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"
],
"src": [
"ant-1.10.8-4.oe1.src.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP1",
"name": "ant",
"purl": "pkg:rpm/openEuler/ant\u0026distro=openEuler-20.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.10.8-4.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"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"
],
"src": [
"ant-1.10.8-4.oe1.src.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP2",
"name": "ant",
"purl": "pkg:rpm/openEuler/ant\u0026distro=openEuler-20.03-LTS-SP2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.10.8-4.oe1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "Medium"
},
"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.\r\n\r\nSecurity Fix(es):\r\n\r\nWhen 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)\r\n\r\nWhen 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)",
"id": "OESA-2021-1277",
"modified": "2026-08-06T11:04:31Z",
"published": "2021-07-24T11:04:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1277"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36373"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36374"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "ant security update",
"upstream": [
"CVE-2021-36373",
"CVE-2021-36374"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.