CVE-2023-43618 Croc requires senders to provide local IP addresses in cleartext

Medium 5.3 Published Updated

Croc leaks local IP addresses in cleartext during protocol handshake, allowing attackers to identify internal network topology.

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

What is CVE-2023-43618?

CVE-2023-43618 is a medium-severity vulnerability in n/a, published on 20 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in Croc through 9.6.5. The protocol requires a sender to provide its local IP addresses in cleartext via an ips? message.

Weakness: CWE-311

Which versions are affected by CVE-2023-43618?

6 open source packages ship an affected version, including github.com/schollz/croc/v9, github.com/schollz/croc and github.com/schollz/croc/v6. It affects 1 product.

PackageAffectedFixed in
github.com/schollz/croc/v9 GoAll versions9.6.16
github.com/schollz/croc/v9 GoAll versions9.6.16
github.com/schollz/croc/v9 GoAll versions9.6.16
github.com/schollz/croc GoAll versionsNone
github.com/schollz/croc/v6 GoAll versionsNone
github.com/schollz/croc/v8 GoAll versionsNone

Products include Schollz Croc.

How do I fix CVE-2023-43618?

Upgrade github.com/schollz/croc/v9 to 9.6.16 or later.

Is CVE-2023-43618 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-43618 exists.

Sources

Also known as CLEANSTART-2024-FA11373, GHSA-7mp6-929p-pqhj, GO-2023-2070.

Is CVE-2023-43618 in your software?

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

Check your SBOMs for free