CVE-2024-31224 GPT Academic: Pickle deserializing cookies may pose RCE risk

Critical 9.8 Published Updated

Attackers can achieve remote code execution by sending malicious serialized data to the GPT Academic web interface.

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

What is CVE-2024-31224?

CVE-2024-31224 is a critical unsafe deserialization vulnerability in binary-husky gpt_academic, published on 8 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

GPT Academic provides interactive interfaces for large language models. A vulnerability was found in gpt_academic versions 3.64 through 3.73. The server deserializes untrustworthy data from the client, which may risk remote code execution. Any device that exposes the GPT Academic service to the Internet is vulnerable. Version 3.74 contains a patch for the issue. There are no known workarounds aside from upgrading to a patched version.

Weakness: CWE-502

Which versions are affected by CVE-2024-31224?

It affects 1 product.

Products include Binary-Husky Gpt Academic.

How do I fix CVE-2024-31224?

No fix has been published for CVE-2024-31224 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2024-31224 being exploited?

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

Sources

Also known as GHSA-jcjc-89wr-vv7g.

Is CVE-2024-31224 in your software?

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

Check your SBOMs for free