CVE-2020-5262 GitHub personal access token leaking into temporary EasyBuild (debug) logs

High 7.7 Published Updated

Attackers with access to debug logs can read GitHub Personal Access Tokens, potentially compromising user accounts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-5262?

CVE-2020-5262 is a high-severity vulnerability in easybuilders easybuild-framework, published on 19 Mar 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In EasyBuild before version 4.1.2, the GitHub Personal Access Token (PAT) used by EasyBuild for the GitHub integration features (like `--new-pr`, `--fro,-pr`, etc.) is shown in plain text in EasyBuild debug log files. This issue is fixed in EasyBuild v4.1.2, and in the `master`+ `develop` branches of the `easybuild-framework` repository.

Weakness: CWE-922, CWE-532

Which versions are affected by CVE-2020-5262?

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

PackageAffectedFixed in
easybuild-framework PyPIAll versions4.1.2
easybuild-framework PyPIAll versions4.1.2
easybuild-framework PyPIAll versions4.1.2
easybuild PyPIAll versions4.1.2

Products include Easybuild Project Easybuild.

How do I fix CVE-2020-5262?

Upgrade easybuild-framework to 4.1.2 or later.

Is CVE-2020-5262 being exploited?

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

Sources

Also known as GHSA-2wx6-wc87-rmjm, PYSEC-2020-268, PYSEC-2020-41.

Is CVE-2020-5262 in your software?

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

Check your SBOMs for free