CVE-2021-4286cocagne pysrp _ctsrp.py calculate_x information exposure
A vulnerability, which was classified as problematic, has been found in cocagne pysrp up to 1.0.16. This issue affects the function calculate_x of the file srp/_ctsrp.py. The manipulation leads to information exposure through discrepancy. Upgrading to version 1.0.17 is able to address this issue. The name of the patch is dba52642f5e95d3da7af1780561213ee6053195f. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216875.
What to do
Fixed builds are available from PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | python-srp | Fix pending | UBUNTU-CVE-2021-4286 | |
| Ubuntu 26.04 | python-srp | Under investigation | UBUNTU-CVE-2021-4286 | |
| Ubuntu 25.10 | python-srp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-4286 | |
| Ubuntu 24.04 | python-srp | Under investigation | UBUNTU-CVE-2021-4286 | |
| Ubuntu 22.04 | python-srp | Under investigation | UBUNTU-CVE-2021-4286 | |
| Ubuntu 20.04 | python-srp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-4286 | |
| Ubuntu 18.04 | python-srp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-4286 | |
| Ubuntu 16.04 | python-srp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-4286 | |
| Ubuntu 14.04 | python-srp | Will not fix Ubuntu decided not to fix this in this release | ||
| PyPI library | srp | Fixed | 1.0.17 | PYSEC-2022-43014 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- cocagne pysrp: affected: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5
Vendor advisories:
- https://github.com/cocagne/pysrp/commit/dba52642f5e95d3da7af1780561213ee6053195f (patch)
- https://github.com/cocagne/pysrp/releases/tag/1.0.17 (patch)
References
- https://vuldb.com/?id.216875
- https://vuldb.com/?ctiid.216875
- https://github.com/cocagne/pysrp/pull/43
- https://github.com/cocagne/pysrp/commit/dba52642f5e95d3da7af1780561213ee6053195f
- https://github.com/cocagne/pysrp/releases/tag/1.0.17
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.