CVE-2021-32700: Ballerina is an open source programming language and platform for cloud application programmers
CVE-2021-32700 is a critical-severity flaw (CVSS 9.1) affecting ballerina, swan lake. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Ballerina is an open source programming language and platform for cloud application programmers. Ballerina versions 1.2.x and SL releases up to alpha 3 have a potential for a supply chain attack via MiTM against users. Http connections did not make use of TLS and certificate checking was ignored. The vulnerability allows an attacker to substitute or modify packages retrieved from BC thus allowing to inject malicious code into ballerina executable
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Weakness | CWE-306 |
| Published | 2021-06-22 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-32700?
ballerina: upgrade to 1.2.14; swan lake: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-32700 being exploited?
CVE-2021-32700 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-32700 affect?
CVE-2021-32700 affects ballerina, swan lake. Severity is critical (CVSS 9.1). Ballerina is an open source programming language and platform for cloud application programmers. Ballerina versions 1.2.x and SL releases up to alpha 3 have a potential for a supply chain attack via MiTM against users. Http connections did
How urgent is CVE-2021-32700?
Priority 49/100. Critical severity; Remotely exploitable, no login, no user action