CVE-2024-41265 cortex establishes TLS connections with `InsecureSkipVerify` set to `true`

High 7.5 Published Updated

Attackers can bypass TLS certificate verification to obtain sensitive information via the makeOperatorRequest function in the cortex library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-41265?

CVE-2024-41265 is a high-severity vulnerability in n/a, published on 1 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A TLS certificate verification issue discovered in cortex v0.42.1 allows attackers to obtain sensitive information via the makeOperatorRequest function.

Weakness: CWE-599

Which versions are affected by CVE-2024-41265?

3 open source packages ship an affected version, including github.com/cortexproject/cortex and github.com/cortexlabs/cortex.

PackageAffectedFixed in
github.com/cortexproject/cortex GoAll versions to 0.42.1None
github.com/cortexproject/cortex GoAll versions to 0.42.1None
github.com/cortexlabs/cortex GoAll versionsNone

How do I fix CVE-2024-41265?

Upgrade to a fixed version.

Is CVE-2024-41265 being exploited?

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

Sources

Also known as GHSA-vw7g-3cc7-7rmh, GO-2024-3036.

Is CVE-2024-41265 in your software?

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

Check your SBOMs for free