LiveActive security incident?Get immediate response
CVE Record

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.

LowCVSS 2.6Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

CVE-2021-4286 affects cocagne pysrp versions 1.0.0 through 1.0.16. A discrepancy in calculate_x may expose limited information. The published CVSS score is 2.6, requiring adjacent access, high complexity, and low privileges, with only low confidentiality impact. Version 1.0.17 addresses it.

Executive priority

Handle this as a low-priority dependency remediation unless pysrp is used in sensitive authentication workflows. It should be fixed during the next normal maintenance window, with faster action if affected versions appear in production identity, access, or customer-facing authentication systems.

Technical view

The issue is reported as CWE-203 in srp/_ctsrp.py, where calculate_x can leak information through observable discrepancies. Sources identify affected versions up to 1.0.16 and a fixing commit, dba52642f5e95d3da7af1780561213ee6053195f, released in pysrp 1.0.17. No source bundle evidence indicates integrity or availability impact.

Likely exposure

Exposure is limited to applications that include cocagne pysrp 1.0.0 through 1.0.16 and exercise the affected SRP code path. The CVSS vector indicates adjacent attack access, high complexity, and low privileges are required. This is dependency-level exposure, not a separately exposed network service in the provided sources.

Exploitation context

The provided bundle does not show active exploitation, and KEV is false. The CVSS vector is AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N, suggesting exploitation is constrained and mainly relevant where an attacker can interact near the affected authentication flow. Evidence is incomplete on real-world exploitability.

Researcher notes

The source bundle identifies a discrepancy-based information exposure in calculate_x, but does not include detailed exploit mechanics. Treat exploit status as unproven from these sources. Focus validation on dependency versioning, reachable SRP authentication paths, and whether the patched 1.0.17 behavior is present.

Mitigation direction

  • Upgrade cocagne pysrp to version 1.0.17 or later.
  • Confirm deployed environments are not pinning pysrp 1.0.16 or older.
  • Review the vendor release and patch references before production rollout.
  • If immediate upgrade is blocked, seek vendor guidance for temporary controls.

Validation and detection

  • Inventory Python dependencies and record exact pysrp versions.
  • Check lockfiles, containers, and runtime package lists for pysrp 1.0.16 or older.
  • Verify whether the application exercises SRP flows using calculate_x.
  • After upgrading, run authentication regression tests.
  • Confirm the deployed package aligns with pysrp release 1.0.17 or later.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-203: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-4286 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
2.6 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
2.6CVSS 3.1LowCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N1.21.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

2.6Low
CVSS 3.1 vector shape for CVE-2021-4286Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
cocagnepysrp1.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, 1.0.12, 1.0.13, 1.0.14, 1.0.15, 1.0.16Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-203 · source CWE mapping

Observable Discrepancy

Observable Discrepancy represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.