CVE-2021-44217 Cross-site Scripting in Ericsson CodeChecker

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script via stored XSS in the CodeChecker reports viewer comments component.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-44217?

CVE-2021-44217 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In Ericsson CodeChecker through 6.18.0, a Stored Cross-site scripting (XSS) vulnerability in the comments component of the reports viewer allows remote attackers to inject arbitrary web script or HTML via the POST JSON data of the /CodeCheckerService API.

Weakness: CWE-79

Which versions are affected by CVE-2021-44217?

4 open source packages ship an affected version, including codechecker and codechecker-api. It affects 1 product.

PackageAffectedFixed in
codechecker PyPIAll versions6.18.2
codechecker PyPIAll versions6.18.2
codechecker PyPIAll versions6.18.2
codechecker-api PyPIAll versionsNone

Products include Ericsson Codechecker.

How do I fix CVE-2021-44217?

Upgrade codechecker to 6.18.2 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-44217 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-fxmx-pfm2-85m2, PYSEC-2022-43181, PYSEC-2026-625.

Is CVE-2021-44217 in your software?

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

Check your SBOMs for free