Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/45072?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45072?format=api", "vulnerability_id": "VCID-fbu3-1dn2-jybb", "summary": "Insufficient token expiration in Serenity\nAn issue was discovered in Serenity Serene (and StartSharp) before 6.7.0. Password reset links are sent by email. A link contains a token that is used to reset the password. This token remains valid even after the password reset and can be used a second time to change the password of the corresponding user. The token expires only 3 hours after issuance and is sent as a query parameter when resetting. An attacker with access to the browser history can thus use the token again to change the password in order to take over the account.", "aliases": [ { "alias": "CVE-2023-31287" }, { "alias": "GHSA-2hp9-3xfr-r9w2" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/65019?format=api", "purl": "pkg:nuget/Serenity.Net.Core@6.7.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Serenity.Net.Core@6.7.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/65007?format=api", "purl": "pkg:nuget/Serenity.Net.Web@6.7.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Serenity.Net.Web@6.7.0" } ], "affected_packages": [], "references": [ { "reference_url": "http://packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-01-31T18:19:06Z/" } ], "url": "http://packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html" }, { "reference_url": "http://seclists.org/fulldisclosure/2023/May/14", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-01-31T18:19:06Z/" } ], "url": "http://seclists.org/fulldisclosure/2023/May/14" }, { "reference_url": "https://github.com/serenity-is/Serenity", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/serenity-is/Serenity" }, { "reference_url": "https://github.com/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-01-31T18:19:06Z/" } ], "url": "https://github.com/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2" }, { "reference_url": "https://packetstorm.news/files/id/172648", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://packetstorm.news/files/id/172648" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31287", "reference_id": "CVE-2023-31287", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31287" }, { "reference_url": "https://github.com/advisories/GHSA-2hp9-3xfr-r9w2", "reference_id": "GHSA-2hp9-3xfr-r9w2", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-2hp9-3xfr-r9w2" } ], "weaknesses": [ { "cwe_id": 640, "name": "Weak Password Recovery Mechanism for Forgotten Password", "description": "The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": "7.0 - 8.9", "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fbu3-1dn2-jybb" }