# CVE-2021-4286: cocagne pysrp _ctsrp.py calculate_x information exposure

- Severity: Low 2.6 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2022-12-27T10:21:16.703Z
- Modified: 2026-06-17T04:19:25.573Z
- Also known as: GHSA-xmc3-9m9j-w9x4, PYSEC-2022-43014
- Weaknesses: CWE-203
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- 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
- srp (PyPI): before 1.0.17; before dba52642f5e95d3da7af1780561213ee6053195f
- pysrp_project pysrp: before 1.0.17

## Every score

- VulDB: CVSS:3.1 2.6 Low `CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- VulDB: CVSS:3.0 2.6 Low `CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://vuldb.com/?id.216875> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.216875> (permissions-required, signature, third-party-advisory, web)
- <https://github.com/cocagne/pysrp/pull/43> (fix, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/cocagne/pysrp/commit/dba52642f5e95d3da7af1780561213ee6053195f> (fix, patch, third-party-advisory, web)
- <https://github.com/cocagne/pysrp/releases/tag/1.0.17> (patch, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4286> (advisory)
- <https://github.com/cocagne/pysrp> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/srp/PYSEC-2022-43014.yaml> (web)
- <https://github.com/advisories/GHSA-xmc3-9m9j-w9x4> (advisory)

## Sources

- CVE List: [CVE-2021-4286](https://www.cve.org/CVERecord?id=CVE-2021-4286), CVE Terms of Use, modified 2025-04-11
- GitHub Advisory Database: [GHSA-xmc3-9m9j-w9x4](https://github.com/advisories/GHSA-xmc3-9m9j-w9x4), CC-BY-4.0, modified 2024-10-28
- NVD: [CVE-2021-4286](https://nvd.nist.gov/vuln/detail/CVE-2021-4286), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43014](https://osv.dev/vulnerability/PYSEC-2022-43014), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2021-4286 · Whole record: https://cve.day/CVE-2021-4286.json · Rebuilt by cve.day 2026-11-25T22:58:08.012Z
