{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/11956?format=json","vulnerability_id":"VCID-gcxw-t4m6-4bcs","summary":"Improper Neutralization of Special Elements used in a Command ('Command Injection')\nApache James prior to release is vulnerable to a buffering attack relying on the use of the STARTTLS command. This can result in Man-in -the-middle command injection attacks, leading potentially to leakage of sensible information.","aliases":[{"alias":"CVE-2021-38542"},{"alias":"GHSA-84wg-rgp8-2hg4"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/44800?format=json","purl":"pkg:maven/org.apache.james/james-server@3.6.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.6.2"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/277026?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-beta2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-beta2"},{"url":"http://public2.vulnerablecode.io/api/packages/277027?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-beta3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-beta3"},{"url":"http://public2.vulnerablecode.io/api/packages/277028?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-beta4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-beta4"},{"url":"http://public2.vulnerablecode.io/api/packages/277029?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0.0-beta5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0.0-beta5"},{"url":"http://public2.vulnerablecode.io/api/packages/277030?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-M1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-M1"},{"url":"http://public2.vulnerablecode.io/api/packages/277031?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-M2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-M2"},{"url":"http://public2.vulnerablecode.io/api/packages/277032?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0.0-RC1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0.0-RC1"},{"url":"http://public2.vulnerablecode.io/api/packages/277033?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277034?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/143211?format=json","purl":"pkg:maven/org.apache.james/james-server@3.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277035?format=json","purl":"pkg:maven/org.apache.james/james-server@3.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277036?format=json","purl":"pkg:maven/org.apache.james/james-server@3.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277037?format=json","purl":"pkg:maven/org.apache.james/james-server@3.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277038?format=json","purl":"pkg:maven/org.apache.james/james-server@3.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277039?format=json","purl":"pkg:maven/org.apache.james/james-server@3.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.6.0"},{"url":"http://public2.vulnerablecode.io/api/packages/276013?format=json","purl":"pkg:maven/org.jamesframework/james@0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-4s4f-emvn-9bhh"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-tbyy-yemg-g7bk"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/276014?format=json","purl":"pkg:maven/org.jamesframework/james@0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-4s4f-emvn-9bhh"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-tbyy-yemg-g7bk"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/276015?format=json","purl":"pkg:maven/org.jamesframework/james@1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-tbyy-yemg-g7bk"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/276016?format=json","purl":"pkg:maven/org.jamesframework/james@1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-tbyy-yemg-g7bk"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@1.2"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-38542","reference_id":"","reference_type":"","scores":[{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.70036","published_at":"2026-05-14T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.699","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.6988","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69931","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.6994","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69943","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69918","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69961","published_at":"2026-05-11T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69991","published_at":"2026-05-09T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69987","published_at":"2026-05-12T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69787","published_at":"2026-04-01T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69799","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69814","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69791","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69839","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69854","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69877","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69863","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.69849","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00614","scoring_system":"epss","scoring_elements":"0.6989","published_at":"2026-04-16T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-38542"},{"reference_url":"https://www.openwall.com/lists/oss-security/2022/01/04/1","reference_id":"","reference_type":"","scores":[{"value":"5.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.openwall.com/lists/oss-security/2022/01/04/1"},{"reference_url":"http://www.openwall.com/lists/oss-security/2022/01/04/1","reference_id":"","reference_type":"","scores":[{"value":"5.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://www.openwall.com/lists/oss-security/2022/01/04/1"},{"reference_url":"http://www.openwall.com/lists/oss-security/2022/09/20/1","reference_id":"","reference_type":"","scores":[{"value":"5.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://www.openwall.com/lists/oss-security/2022/09/20/1"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38542","reference_id":"CVE-2021-38542","reference_type":"","scores":[{"value":"5.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38542"},{"reference_url":"https://github.com/advisories/GHSA-84wg-rgp8-2hg4","reference_id":"GHSA-84wg-rgp8-2hg4","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-84wg-rgp8-2hg4"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":327,"name":"Use of a Broken or Risky Cryptographic Algorithm","description":"The product uses a broken or risky cryptographic algorithm or protocol."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":77,"name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-gcxw-t4m6-4bcs"}