{"id":"CVE-2022-29599","state":"PUBLISHED","title":"Commandline class shell injection vulnerabilities","description":"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.","publishedAt":"2022-05-23T10:25:10.000Z","updatedAt":"2024-08-03T06:26:06.558Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Maven"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Maven","versions":[{"version":"maven-shared-utils","status":"affected","lessThan":"3.3.3","versionType":"custom"}]}],"references":["https://issues.apache.org/jira/browse/MSHARED-297","https://github.com/apache/maven-shared-utils/pull/40","http://www.openwall.com/lists/oss-security/2022/05/23/3","https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html","https://www.debian.org/security/2022/dsa-5242"],"weaknesses":["CWE-116"],"ingestedAt":"2026-10-29T19:49:57.813Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/29xxx/CVE-2022-29599.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-29599","state":"PUBLISHED","datePublished":"2022-05-23T10:25:10.000Z","dateUpdated":"2024-08-03T06:26:06.558Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2022-04-24T00:00:00.000Z"},"containers":{"cna":{"title":"Commandline class shell injection vulnerabilities","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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Maven","versions":[{"version":"maven-shared-utils","status":"affected","lessThan":"3.3.3","versionType":"custom"}]}],"references":[{"url":"https://issues.apache.org/jira/browse/MSHARED-297","tags":["x_refsource_MISC"]},{"url":"https://github.com/apache/maven-shared-utils/pull/40","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/23/3","name":"[oss-security] 20220523 CVE-2022-29599: Apache Maven: Commandline class shell injection vulnerabilities","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html","name":"[debian-lts-announce] 20220829 [SECURITY] [DLA 3086-1] maven-shared-utils security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2022/dsa-5242","name":"DSA-5242","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-116","description":"CWE-116 Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2023-09-28T08:18:19.534Z"},"source":{"defect":["MSHARED-297"],"discovery":"UNKNOWN"},"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"}}},"adp":[{"title":"CVE Program Container","references":[{"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","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/23/3","name":"[oss-security] 20220523 CVE-2022-29599: Apache Maven: Commandline class shell injection vulnerabilities","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00018.html","name":"[debian-lts-announce] 20220829 [SECURITY] [DLA 3086-1] maven-shared-utils security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5242","name":"DSA-5242","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T06:26:06.558Z"}}]}}}