Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-32700: Ballerina is an open source programming language and platform for cloud application programmers

49
This month
CRITICAL 9.1REMOTEUPGRADEDOWNGRADE

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 score9.1 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.6% (top 52%)
CISA exploited listNo
WeaknessCWE-306
Published2021-06-22
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: ballerina

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ballerina ballerina UPGRADE
Affected: < 1.2.14
Fixed in: 1.2.14
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ballerina || rpm -q ballerina || ballerina --version
2. UPGRADE to 1.2.14 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ballerina
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ballerina
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
ballerina swan lake DOWNGRADE
Affected: alpha1 · alpha2 · alpha3
Fixed in: no fixed release known
Safe to downgrade to: a release before alpha1
1. Check installed version
apt-cache policy swan-lake || rpm -q swan-lake || swan-lake --version
2. No fixed release: DOWNGRADE to a release before alpha1 (Debian / Ubuntu)
apt-cache madison swan-lake sudo apt install swan-lake=<VERSION_BEFORE_alpha1> sudo apt-mark hold swan-lake
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list swan-lake sudo dnf downgrade swan-lake-<VERSION_BEFORE_alpha1> sudo dnf versionlock add swan-lake
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.