Skip to content
Heist/ feed
Back to feed
High

python-srp — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-4286

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.

Products
python-srp
Affected versions
1.0.14-1.1, 1.0.14-1build2, 1.0.14-1build3, 1.0.15-1, 1.0.20-1, 1.0.22-2, 1.0.4-1.1build2, 1.0.4-1ubuntu3, 1.0.4-1ubuntu4
Fixed versions
Not specified
CVEs
CVE-2021-4286
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:55 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-4286

core-osv · Original source

Published 27 Dec 2022, 11:15 UTC

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.

osv:UBUNTU-CVE-2021-4286

python-srp

Fixed versions: Not specified

python-srp

Fixed versions: Not specified

python-srp

Fixed versions: Not specified

python-srp

Fixed versions: Not specified

python-srp

Fixed versions: Not specified

python-srp

Fixed versions: Not specified

python-srp

Fixed versions: Not specified

python-srp

Fixed versions: Not specified

Complete source record
{
  "id": "160cdd1876502dfe01dfc46f792b4f0804dfd6e2350011cceff729cdfc36d2b4",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-4286",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-4286",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2021-4286",
    "products": [
      {
        "name": {
          "value": "python-srp",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.4-1ubuntu3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.4-1ubuntu4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-srp",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.4-1.1build2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-srp",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.14-1build2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.14-1build3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.14-1.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.15-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-srp",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.15-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-srp",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.20-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-srp",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.22-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-srp",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.22-2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-srp",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.22-2",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2021-4286",
      "aliases": [
        "UBUNTU-CVE-2021-4286"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-srp",
            "purl": "pkg:deb/ubuntu/python-srp?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.0.4-1ubuntu3",
            "1.0.4-1ubuntu4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-srp",
                "binary_version": "1.0.4-1ubuntu4"
              },
              {
                "binary_name": "python3-srp",
                "binary_version": "1.0.4-1ubuntu4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-srp",
            "purl": "pkg:deb/ubuntu/python-srp?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.0.4-1.1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-srp",
                "binary_version": "1.0.4-1.1build2"
              },
              {
                "binary_name": "python3-srp",
                "binary_version": "1.0.4-1.1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-srp",
            "purl": "pkg:deb/ubuntu/python-srp?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.0.14-1build2",
            "1.0.14-1build3",
            "1.0.14-1.1",
            "1.0.15-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-srp",
                "binary_version": "1.0.15-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-srp",
            "purl": "pkg:deb/ubuntu/python-srp?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.0.15-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-srp",
                "binary_version": "1.0.15-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-srp",
            "purl": "pkg:deb/ubuntu/python-srp?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.0.20-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-srp",
                "binary_version": "1.0.20-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-srp",
            "purl": "pkg:deb/ubuntu/python-srp?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.0.22-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-srp",
                "binary_version": "1.0.22-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-srp",
            "purl": "pkg:deb/ubuntu/python-srp?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.0.22-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-srp",
                "binary_version": "1.0.22-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-srp",
            "purl": "pkg:deb/ubuntu/python-srp?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.0.22-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-srp",
                "binary_version": "1.0.22-2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:15.857458665Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-4286"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-4286",
        "https://github.com/cocagne/pysrp/releases/tag/1.0.17",
        "https://github.com/cocagne/pysrp/pull/43",
        "https://www.cve.org/CVERecord?id=CVE-2021-4286"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-4286",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 355074,
  "published_at": "2022-12-27T11:15:00+00:00"
}