Home / cocagne / pysrp / CVE-2021-4286
CVE-2021-4286: is it exploited, and which versions of cocagne pysrp are affected and fixed?
CVE-2021-4286 is an information disclosure through timing or responses vulnerability in cocagne pysrp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: srp before 1.0.17 (GitHub advisory GHSA-xmc3-9m9j-w9x4). Fixed in 1.0.17 (GitHub advisory GHSA-xmc3-9m9j-w9x4). Severity: Low (2.6, CVSS 3.1, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:42 UTC.
What is CVE-2021-4286?
cocagne 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.
From the CVE record by VulDB, last updated April 11, 2025, 16:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cocagne | pysrp | 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.0.10 1.0.11 and 5 more ranges |
As the CVE record by VulDB states it, last updated April 11, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | srp | < 1.0.17 | 1.0.17 | GHSA-xmc3-9m9j-w9x4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 28, 2024. Summary: cocagne pysrp vulnerable to side channel leaks.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pysrp project | pysrp | before 1.0.17 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:19 UTC.
How severe is CVE-2021-4286?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.6 | CVSS 3.1 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N | VulDB |
| Low 2.6 | CVSS 3.0 | CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N | VulDB |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-4286 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 11, 2025)
- EPSS
- 0.79% probability of exploitation activity in the next 30 days, percentile 57.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-203 Observable Discrepancy
Where are the vendor advisories and references?
- https://vuldb.com/?id.216875 vdb-entry, technical-description
- https://vuldb.com/?ctiid.216875 signature, permissions-required
- https://github.com/cocagne/pysrp/pull/43 issue-tracking
- https://github.com/cocagne/pysrp/commit/dba52642f5e95d3da7af1780561213ee6053195f patch
- https://github.com/cocagne/pysrp/releases/tag/1.0.17 patch
When was it published, and where is the official record?
- Reserved
- December 27, 2022
- Published
- December 27, 2022, 10:21 UTC
- CVE record updated
- April 11, 2025, 16:46 UTC by VulDB
- NVD
- Modified, last modified June 17, 2026, 04:19 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:42 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2021-4286
Is CVE-2021-4286 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.79% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of cocagne pysrp are affected by CVE-2021-4286?
srp before 1.0.17, per the GitHub advisory GHSA-xmc3-9m9j-w9x4. The tables above give every range the sources list.
Which version fixes CVE-2021-4286?
1.0.17, per the GitHub advisory GHSA-xmc3-9m9j-w9x4. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-4286?
Low (2.6, CVSS 3.1, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2021-4286?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.