Home / IBM / API Connect / CVE-2021-38997
CVE-2021-38997: is it exploited, and which versions of IBM API Connect are affected and fixed?
CVE-2021-38997 is an improper Neutralization of HTTP Headers for Scripting Syntax vulnerability in IBM API Connect. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: API Connect from 10.0.0.0 before 10.0.5.0, API Connect from 10.0.1.0 before 10.0.1.7 and API Connect from 2018.4.1.0 before 2018.4.1.19 (CVE record by ibm). Fixed in 10.0.5.0, 10.0.1.7 and 2018.4.1.19 (CVE record by ibm). Severity: Medium (5.4, CVSS 3.1, from ibm).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2021-38997?
IBM API Connect HOST header injection
IBM API Connect V10.0.0.0 through V10.0.5.0, V10.0.1.0 through V10.0.1.7, and V2018.4.1.0 through 2018.4.1.19 is vulnerable to HTTP header injection, caused by improper validation of input by the HOST headers. This could allow an attacker to conduct various attacks against the vulnerable system, including cross-site scripting, cache poisoning or session hijacking. IBM X-Force ID: 213212.
From the CVE record by ibm, last updated April 23, 2025, 15:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| IBM | API Connect | from 10.0.0.0 before 10.0.5.0 from 10.0.1.0 before 10.0.1.7 from 2018.4.1.0 before 2018.4.1.19 | 10.0.5.0, 10.0.1.7, 2018.4.1.19 |
As the CVE record by ibm states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ibm | api connect | from 10.0.0.0 through 10.0.5.0 | application |
| ibm | api connect | from 10.0.1.0 through 10.0.1.7 | application |
| ibm | api connect | from 2018.4.1.0 through 2018.4.1.19 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:02 UTC.
How severe is CVE-2021-38997?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | ibm |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-38997 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 23, 2025)
- EPSS
- 0.48% probability of exploitation activity in the next 30 days, percentile 42.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-644 Improper Neutralization of HTTP Headers for Scripting Syntax
- CWE-116 Improper Encoding or Escaping of Output
Where are the vendor advisories and references?
- https://www.ibm.com/support/pages/node/6842621 vendor-advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/213212 vdb-entry
When was it published, and where is the official record?
- Reserved
- August 16, 2021
- Published
- December 1, 2022, 17:00 UTC
- CVE record updated
- April 23, 2025, 15:11 UTC by ibm
- NVD
- Modified, last modified June 17, 2026, 04:02 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect API Connect?
- Nov 19, 2026CVE-2026-16319 IBM API Connect: authorization bypass through a user-controlled key (IDOR)
- Nov 7, 2026CVE-2026-18535 IBM API Connect: regular expression denial of service (ReDoS)
- Nov 7, 2026CVE-2026-19124 IBM API Connect: hard-coded credentials
- Nov 7, 2026CVE-2026-17393 IBM API Connect: weak random number generator
- Nov 7, 2026CVE-2026-17386 IBM API Connect: weak random number generator
- Nov 7, 2026CVE-2026-17384 IBM API Connect: server-side request forgery (SSRF)
- Nov 7, 2026CVE-2026-75590 IBM API Connect: server-side request forgery (SSRF)
- Nov 7, 2026CVE-2026-19131 IBM API Connect: missing authorization
Questions about CVE-2021-38997
Is CVE-2021-38997 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.48% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of IBM API Connect are affected by CVE-2021-38997?
API Connect from 10.0.0.0 before 10.0.5.0, API Connect from 10.0.1.0 before 10.0.1.7 and API Connect from 2018.4.1.0 before 2018.4.1.19, per the CVE record by ibm. The tables above give every range the sources list.
Which version fixes CVE-2021-38997?
10.0.5.0, 10.0.1.7 and 2018.4.1.19, per the CVE record by ibm. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-38997?
Medium (5.4, CVSS 3.1, from ibm). The severity table above shows each score with its source.
Where is the official record of CVE-2021-38997?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.