# CVE-2021-32700: Supply chain attack via MiTM against users

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2021-06-22T19:30:12.000Z
- Modified: 2026-06-17T03:53:27.223Z
- Weaknesses: CWE-306
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ballerina-platform ballerina-lang: < 1.2.14; < SL-alpha4
- ballerina ballerina: before 1.2.14
- ballerina swan_lake: alpha1; alpha2; alpha3

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/ballerina-platform/ballerina-lang/security/advisories/GHSA-f5qg-fqrw-v5ww> (third-party-advisory)
- <https://github.com/ballerina-platform/ballerina-lang/commit/4609ffee1744ecd16aac09303b1783bf0a525816> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-32700](https://www.cve.org/CVERecord?id=CVE-2021-32700), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32700](https://nvd.nist.gov/vuln/detail/CVE-2021-32700), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32700 · Whole record: https://cve.day/CVE-2021-32700.json · Rebuilt by cve.day 2026-11-25T22:58:02.122Z
