{"id":"UBUNTU-CVE-2021-4286","details":"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.","modified":"2026-05-20T16:05:16.823139271Z","published":"2022-12-27T11:15:00Z","upstream":["CVE-2021-4286"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-4286"},{"type":"REPORT","url":"https://github.com/cocagne/pysrp/releases/tag/1.0.17"},{"type":"REPORT","url":"https://github.com/cocagne/pysrp/pull/43"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-4286"}],"affected":[{"package":{"name":"python-srp","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-srp?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.4-1ubuntu3","1.0.4-1ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"python-srp","binary_version":"1.0.4-1ubuntu4"},{"binary_version":"1.0.4-1ubuntu4","binary_name":"python3-srp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"}},{"package":{"name":"python-srp","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-srp?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.4-1.1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.4-1.1build2","binary_name":"python-srp"},{"binary_version":"1.0.4-1.1build2","binary_name":"python3-srp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"}},{"package":{"name":"python-srp","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-srp?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.14-1build2","1.0.14-1build3","1.0.14-1.1","1.0.15-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-srp","binary_version":"1.0.15-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"}},{"package":{"name":"python-srp","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-srp?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.15-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.15-1","binary_name":"python3-srp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"}},{"package":{"name":"python-srp","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-srp?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.20-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-srp","binary_version":"1.0.20-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"}},{"package":{"name":"python-srp","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-srp?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.22-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.22-2","binary_name":"python3-srp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"}},{"package":{"name":"python-srp","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-srp?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.22-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-srp","binary_version":"1.0.22-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4286.json"}}],"schema_version":"1.7.5","severity":[{"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"}]}