What’s Vulnerable › Vulnerabilities
CVE-2021-32700: Supply chain attack via MiTM against users
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-06-22 · updated 2026-06-17
- Weakness: CWE-306
Description
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 executables. This has been patched in Ballerina 1.2.14 and Ballerina SwanLake alpha4.
Affected products
- Ballerina: before 1.2.14 — fixed in 1.2.14
- Ballerina Swan Lake: alpha1, alpha2, alpha3
How to fix
Upgrade to a fixed version: Ballerina 1.2.14. Check the vendor advisory for mitigations.
References
- https://github.com/ballerina-platform/ballerina-lang/commit/4609ffee1744ecd16aac09303b1783bf0a525816
- https://github.com/ballerina-platform/ballerina-lang/security/advisories/GHSA-f5qg-fqrw-v5ww
- https://github.com/ballerina-platform/ballerina-lang/commit/4609ffee1744ecd16aac09303b1783bf0a525816
- https://github.com/ballerina-platform/ballerina-lang/security/advisories/GHSA-f5qg-fqrw-v5ww
Get alerted when CVE-2021-32700 or the next vulnerability affects your stack