CVE-2024-33662 Portainer improperly uses an encryption algorithm in the AesEncrypt function

High 7.5 Published Updated

Portainer uses an improper encryption algorithm, potentially allowing attackers to decrypt sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-33662?

CVE-2024-33662 is a high-severity vulnerability in n/a, published on 2 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Portainer before 2.20.2 improperly uses an encryption algorithm in the AesEncrypt function.

Weakness: CWE-326

Which versions are affected by CVE-2024-33662?

3 open source packages ship an affected version, including github.com/portainer/portainer. It affects 1 product.

PackageAffectedFixed in
github.com/portainer/portainer GoAll versionsNone
github.com/portainer/portainer GoAll versions2.20.2
github.com/portainer/portainer GoAll versions2.20.2

Products include Portainer Portainer.

How do I fix CVE-2024-33662?

Upgrade github.com/portainer/portainer to 2.20.2 or later.

Is CVE-2024-33662 being exploited?

There is no known exploitation of CVE-2024-33662 in the wild and no public exploit code.

Sources

Also known as GHSA-9mjw-79r6-c9m8, GO-2024-3172, MINI-43qm-8p9x-vhrg, MINI-xrr7-8cmg-5478.

Is CVE-2024-33662 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free