Vulnerabilites related to apache - maven_shared_utils
Vulnerability from fkie_nvd
Published
2022-05-23 11:16
Modified
2024-11-21 06:59
Severity ?
Summary
In Apache Maven maven-shared-utils prior to version 3.3.3, the Commandline class can emit double-quoted strings without proper escaping, allowing shell injection attacks.
References
Impacted products
Vendor | Product | Version | |
---|---|---|---|
apache | maven_shared_utils | * | |
debian | debian_linux | 10.0 | |
debian | debian_linux | 11.0 |
{ configurations: [ { nodes: [ { cpeMatch: [ { criteria: "cpe:2.3:a:apache:maven_shared_utils:*:*:*:*:*:*:*:*", matchCriteriaId: "D6301EB5-EDF5-45DF-B9D0-2F0C314470D1", versionEndExcluding: "3.3.3", vulnerable: true, }, ], negate: false, operator: "OR", }, ], }, { nodes: [ { cpeMatch: [ { criteria: "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*", matchCriteriaId: "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73", vulnerable: true, }, { criteria: "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*", matchCriteriaId: "FA6FEEC2-9F11-4643-8827-749718254FED", vulnerable: true, }, ], negate: false, operator: "OR", }, ], }, ], cveTags: [], descriptions: [ { lang: "en", value: "In Apache Maven maven-shared-utils prior to version 3.3.3, the Commandline class can emit double-quoted strings without proper escaping, allowing shell injection attacks.", }, { lang: "es", value: "En Apache Maven maven-shared-utils versiones anteriores a 3.3.3, la clase Commandline puede emitir cadenas con comillas dobles sin un escape apropiado, permitiendo ataques de inyección de shell", }, ], id: "CVE-2022-29599", lastModified: "2024-11-21T06:59:23.943", metrics: { cvssMetricV2: [ { acInsufInfo: false, baseSeverity: "HIGH", cvssData: { accessComplexity: "LOW", accessVector: "NETWORK", authentication: "NONE", availabilityImpact: "PARTIAL", baseScore: 7.5, confidentialityImpact: "PARTIAL", integrityImpact: "PARTIAL", vectorString: "AV:N/AC:L/Au:N/C:P/I:P/A:P", version: "2.0", }, exploitabilityScore: 10, impactScore: 6.4, obtainAllPrivilege: false, obtainOtherPrivilege: false, obtainUserPrivilege: false, source: "nvd@nist.gov", type: "Primary", userInteractionRequired: false, }, ], cvssMetricV31: [ { cvssData: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "HIGH", baseScore: 9.8, baseSeverity: "CRITICAL", confidentialityImpact: "HIGH", integrityImpact: "HIGH", privilegesRequired: "NONE", scope: "UNCHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", version: "3.1", }, exploitabilityScore: 3.9, impactScore: 5.9, source: "nvd@nist.gov", type: "Primary", }, ], }, published: "2022-05-23T11:16:10.877", references: [ { source: "security@apache.org", tags: [ "Mailing List", "Third Party Advisory", ], url: "http://www.openwall.com/lists/oss-security/2022/05/23/3", }, { source: "security@apache.org", tags: [ "Patch", "Third Party Advisory", ], url: "https://github.com/apache/maven-shared-utils/pull/40", }, { source: "security@apache.org", tags: [ "Patch", "Vendor Advisory", ], url: "https://issues.apache.org/jira/browse/MSHARED-297", }, { source: "security@apache.org", tags: [ "Mailing List", "Third Party Advisory", ], url: "https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html", }, { source: "security@apache.org", tags: [ "Third Party Advisory", ], url: "https://www.debian.org/security/2022/dsa-5242", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Mailing List", "Third Party Advisory", ], url: "http://www.openwall.com/lists/oss-security/2022/05/23/3", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Third Party Advisory", ], url: "https://github.com/apache/maven-shared-utils/pull/40", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Patch", "Vendor Advisory", ], url: "https://issues.apache.org/jira/browse/MSHARED-297", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Mailing List", "Third Party Advisory", ], url: "https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html", }, { source: "af854a3a-2127-422b-91ae-364da2661108", tags: [ "Third Party Advisory", ], url: "https://www.debian.org/security/2022/dsa-5242", }, ], sourceIdentifier: "security@apache.org", vulnStatus: "Modified", weaknesses: [ { description: [ { lang: "en", value: "CWE-116", }, ], source: "security@apache.org", type: "Primary", }, { description: [ { lang: "en", value: "CWE-116", }, ], source: "nvd@nist.gov", type: "Secondary", }, ], }
cve-2022-29599
Vulnerability from cvelistv5
Published
2022-05-23 10:25
Modified
2024-08-03 06:26
Severity ?
EPSS score ?
Summary
In Apache Maven maven-shared-utils prior to version 3.3.3, the Commandline class can emit double-quoted strings without proper escaping, allowing shell injection attacks.
References
▼ | URL | Tags |
---|---|---|
https://issues.apache.org/jira/browse/MSHARED-297 | x_refsource_MISC | |
https://github.com/apache/maven-shared-utils/pull/40 | x_refsource_MISC | |
http://www.openwall.com/lists/oss-security/2022/05/23/3 | mailing-list, x_refsource_MLIST | |
https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html | mailing-list, x_refsource_MLIST | |
https://www.debian.org/security/2022/dsa-5242 | vendor-advisory, x_refsource_DEBIAN |
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
Apache Software Foundation | Apache Maven |
Version: maven-shared-utils < 3.3.3 |
{ containers: { adp: [ { providerMetadata: { dateUpdated: "2024-08-03T06:26:06.558Z", orgId: "af854a3a-2127-422b-91ae-364da2661108", shortName: "CVE", }, references: [ { tags: [ "x_refsource_MISC", "x_transferred", ], url: "https://issues.apache.org/jira/browse/MSHARED-297", }, { tags: [ "x_refsource_MISC", "x_transferred", ], url: "https://github.com/apache/maven-shared-utils/pull/40", }, { name: "[oss-security] 20220523 CVE-2022-29599: Apache Maven: Commandline class shell injection vulnerabilities", tags: [ "mailing-list", "x_refsource_MLIST", "x_transferred", ], url: "http://www.openwall.com/lists/oss-security/2022/05/23/3", }, { name: "[debian-lts-announce] 20220829 [SECURITY] [DLA 3086-1] maven-shared-utils security update", tags: [ "mailing-list", "x_refsource_MLIST", "x_transferred", ], url: "https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html", }, { name: "DSA-5242", tags: [ "vendor-advisory", "x_refsource_DEBIAN", "x_transferred", ], url: "https://www.debian.org/security/2022/dsa-5242", }, ], title: "CVE Program Container", }, ], cna: { affected: [ { product: "Apache Maven", vendor: "Apache Software Foundation", versions: [ { lessThan: "3.3.3", status: "affected", version: "maven-shared-utils", versionType: "custom", }, ], }, ], descriptions: [ { lang: "en", value: "In Apache Maven maven-shared-utils prior to version 3.3.3, the Commandline class can emit double-quoted strings without proper escaping, allowing shell injection attacks.", }, ], problemTypes: [ { descriptions: [ { cweId: "CWE-116", description: "CWE-116 Improper Encoding or Escaping of Output", lang: "en", type: "CWE", }, ], }, ], providerMetadata: { dateUpdated: "2023-09-28T08:18:19.534Z", orgId: "f0158376-9dc2-43b6-827c-5f631a4d8d09", shortName: "apache", }, references: [ { tags: [ "x_refsource_MISC", ], url: "https://issues.apache.org/jira/browse/MSHARED-297", }, { tags: [ "x_refsource_MISC", ], url: "https://github.com/apache/maven-shared-utils/pull/40", }, { name: "[oss-security] 20220523 CVE-2022-29599: Apache Maven: Commandline class shell injection vulnerabilities", tags: [ "mailing-list", "x_refsource_MLIST", ], url: "http://www.openwall.com/lists/oss-security/2022/05/23/3", }, { name: "[debian-lts-announce] 20220829 [SECURITY] [DLA 3086-1] maven-shared-utils security update", tags: [ "mailing-list", "x_refsource_MLIST", ], url: "https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html", }, { name: "DSA-5242", tags: [ "vendor-advisory", "x_refsource_DEBIAN", ], url: "https://www.debian.org/security/2022/dsa-5242", }, ], source: { defect: [ "MSHARED-297", ], discovery: "UNKNOWN", }, title: "Commandline class shell injection vulnerabilities", x_generator: { engine: "Vulnogram 0.0.9", }, x_legacyV4Record: { CVE_data_meta: { ASSIGNER: "security@apache.org", ID: "CVE-2022-29599", STATE: "PUBLIC", TITLE: "Commandline class shell injection vulnerabilities", }, affects: { vendor: { vendor_data: [ { product: { product_data: [ { product_name: "Apache Maven", version: { version_data: [ { version_affected: "<", version_name: "maven-shared-utils", version_value: "3.3.3", }, ], }, }, ], }, vendor_name: "Apache Software Foundation", }, ], }, }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "eng", value: "In Apache Maven maven-shared-utils prior to version 3.3.3, the Commandline class can emit double-quoted strings without proper escaping, allowing shell injection attacks.", }, ], }, generator: { engine: "Vulnogram 0.0.9", }, impact: [ {}, ], problemtype: { problemtype_data: [ { description: [ { lang: "eng", value: "CWE-116 Improper Encoding or Escaping of Output", }, ], }, ], }, references: { reference_data: [ { name: "https://issues.apache.org/jira/browse/MSHARED-297", refsource: "MISC", url: "https://issues.apache.org/jira/browse/MSHARED-297", }, { name: "https://github.com/apache/maven-shared-utils/pull/40", refsource: "MISC", url: "https://github.com/apache/maven-shared-utils/pull/40", }, { name: "[oss-security] 20220523 CVE-2022-29599: Apache Maven: Commandline class shell injection vulnerabilities", refsource: "MLIST", url: "http://www.openwall.com/lists/oss-security/2022/05/23/3", }, { name: "[debian-lts-announce] 20220829 [SECURITY] [DLA 3086-1] maven-shared-utils security update", refsource: "MLIST", url: "https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html", }, { name: "DSA-5242", refsource: "DEBIAN", url: "https://www.debian.org/security/2022/dsa-5242", }, ], }, source: { defect: [ "MSHARED-297", ], discovery: "UNKNOWN", }, }, }, }, cveMetadata: { assignerOrgId: "f0158376-9dc2-43b6-827c-5f631a4d8d09", assignerShortName: "apache", cveId: "CVE-2022-29599", datePublished: "2022-05-23T10:25:10", dateReserved: "2022-04-24T00:00:00", dateUpdated: "2024-08-03T06:26:06.558Z", state: "PUBLISHED", }, dataType: "CVE_RECORD", dataVersion: "5.1", }