Back to Labs
Security Advisory

CVE-2022-38792

About

The exotel (aka exotel-py) package in PyPI as of 0.1.6 includes a code execution backdoor inserted by a third party.

Rainforest analyst review

This is not a bug, it's a backdoor. The exotel package on PyPI, as of 0.1.6, was found to contain code-execution functionality deliberately inserted by a third party. Any project that installed that version pulled attacker-controlled code directly into its build and runtime, meaning the compromise happens at install time, before the application even runs.

Malicious packages are a different threat class from ordinary vulnerabilities: there is no exploit to launch because the payload is already resident wherever the package was installed. The realistic damage depends on where it landed, developer laptops, CI runners, production services, and a backdoor in a telephony integration library is well positioned to exfiltrate credentials or open a channel out. Removing it is necessary but not sufficient; the machines that ran it should be treated as touched.

This is squarely a dependency-hygiene and SBOM problem for us. We need to search build manifests and lockfiles across every Python project for exotel at the poisoned version, purge it, and then triage anything that installed it as a potential compromise, rotating secrets those environments held. A CVSS number is almost beside the point; the actionable fact is 'is this package present anywhere we build or run code.'

References

Related CVEs

No related CVEs.

Frequently asked questions

What is CVE-2022-38792?

The exotel (aka exotel-py) package in PyPI as of 0.1.6 includes a code execution backdoor inserted by a third party.

How severe is CVE-2022-38792?

CVE-2022-38792 carries a CVSS 3.1 base score of 9.8, rated critical. On the Rainforest Risk Index — which weighs the severity alongside how easy the flaw is to reach and how broad its impact is — it scores 99 out of 100, in the critical band.

How is CVE-2022-38792 exploited?

According to the CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H): attack vector Network, attack complexity Low, privileges required None, user interaction None. Impact on confidentiality High, integrity High and availability High.

Which products are affected by CVE-2022-38792?

Public advisories list the following as affected: exotel. Check the references on this page for the exact versions each vendor confirms.

How do I fix CVE-2022-38792?

Apply the fix the vendor published — the references on this page link to the primary advisories and patches. When patching can't happen right away, reduce the exposure of the affected component and watch it for exploitation attempts. Rainforest customers see this vulnerability correlated to their own assets and prioritized by real exposure, not by score alone.

Empower Your Security Strategy with Rainforest

Discover vulnerabilities early, prioritize critical threats, and protect what truly matters. Rainforest streamlines your security operations, saving you time and reducing costs, so you can focus on what drives your business forward.

Share this:LinkedInX Email