Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/flask-security-too@3.4.5
Typepypi
Namespace
Nameflask-security-too
Version3.4.5
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version5.3.3
Latest_non_vulnerable_version5.3.3
Affected_by_vulnerabilities
0
url VCID-tk55-7fdu-9kfq
vulnerability_id VCID-tk55-7fdu-9kfq
summary An open redirect vulnerability in the python package Flask-Security-Too <=5.3.2 allows attackers to redirect unsuspecting users to malicious sites via a crafted URL by abusing the ?next parameter on the /login and /register routes.
references
0
reference_url https://github.com/brandon-t-elliott/CVE-2023-49438
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
url https://github.com/brandon-t-elliott/CVE-2023-49438
1
reference_url https://github.com/Flask-Middleware/flask-security
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
url https://github.com/Flask-Middleware/flask-security
2
reference_url https://github.com/Flask-Middleware/flask-security/commit/8b5abc4d4db9926a3d76b34b8b03255effb5e712
reference_id
reference_type
scores
url https://github.com/Flask-Middleware/flask-security/commit/8b5abc4d4db9926a3d76b34b8b03255effb5e712
3
reference_url https://github.com/pypa/advisory-database/tree/main/vulns/flask-security-too/PYSEC-2023-248.yaml
reference_id
reference_type
scores
url https://github.com/pypa/advisory-database/tree/main/vulns/flask-security-too/PYSEC-2023-248.yaml
4
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HCYH377TPUMUHELPI36PDS2ZM4VFIXM
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HCYH377TPUMUHELPI36PDS2ZM4VFIXM
5
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HCYH377TPUMUHELPI36PDS2ZM4VFIXM/
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HCYH377TPUMUHELPI36PDS2ZM4VFIXM/
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-49438
reference_id CVE-2023-49438
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2023-49438
7
reference_url https://github.com/advisories/GHSA-672h-6x89-76m5
reference_id GHSA-672h-6x89-76m5
reference_type
scores
url https://github.com/advisories/GHSA-672h-6x89-76m5
fixed_packages
0
url pkg:pypi/flask-security-too@5.3.3
purl pkg:pypi/flask-security-too@5.3.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/flask-security-too@5.3.3
aliases CVE-2023-49438, GHSA-672h-6x89-76m5, PYSEC-2023-248
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-tk55-7fdu-9kfq
1
url VCID-ua6e-h8x5-dbgd
vulnerability_id VCID-ua6e-h8x5-dbgd
summary The Python "Flask-Security-Too" package is used for adding security features to your Flask application. It is an is an independently maintained version of Flask-Security based on the 3.0.0 version of Flask-Security. All versions of Flask-Security-Too allow redirects after many successful views (e.g. /login) by honoring the ?next query param. There is code in FS to validate that the url specified in the next parameter is either relative OR has the same netloc (network location) as the requesting URL. This check utilizes Pythons urlsplit library. However many browsers are very lenient on the kind of URL they accept and 'fill in the blanks' when presented with a possibly incomplete URL. As a concrete example - setting http://login?next=\\\github.com will pass FS's relative URL check however many browsers will gladly convert this to http://github.com. Thus an attacker could send such a link to an unwitting user, using a legitimate site and have it redirect to whatever site they want. This is considered a low severity due to the fact that if Werkzeug is used (which is very common with Flask applications) as the WSGI layer, it by default ALWAYS ensures that the Location header is absolute - thus making this attack vector mute. It is possible for application writers to modify this default behavior by setting the `autocorrect_location_header=False`.
references
0
reference_url https://github.com/Flask-Middleware/flask-security/issues/486
reference_id
reference_type
scores
url https://github.com/Flask-Middleware/flask-security/issues/486
1
reference_url https://github.com/Flask-Middleware/flask-security/security/advisories/GHSA-6qmf-fj6m-686c
reference_id
reference_type
scores
url https://github.com/Flask-Middleware/flask-security/security/advisories/GHSA-6qmf-fj6m-686c
fixed_packages
0
url pkg:pypi/flask-security-too@4.1.0
purl pkg:pypi/flask-security-too@4.1.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-tk55-7fdu-9kfq
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/flask-security-too@4.1.0
aliases CVE-2021-32618, GHSA-6qmf-fj6m-686c, PYSEC-2021-123
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-ua6e-h8x5-dbgd
Fixing_vulnerabilities
0
url VCID-ktqv-ggxh-skf6
vulnerability_id VCID-ktqv-ggxh-skf6
summary cross-site request forgery
references
0
reference_url https://github.com/Flask-Middleware/flask-security/commit/61d313150b5f620d0b800896c4f2199005e84b1f
reference_id
reference_type
scores
url https://github.com/Flask-Middleware/flask-security/commit/61d313150b5f620d0b800896c4f2199005e84b1f
1
reference_url https://github.com/Flask-Middleware/flask-security/commit/6d50ee9169acf813257c37b75babe9c28e83542a
reference_id
reference_type
scores
url https://github.com/Flask-Middleware/flask-security/commit/6d50ee9169acf813257c37b75babe9c28e83542a
2
reference_url https://github.com/Flask-Middleware/flask-security/pull/422
reference_id
reference_type
scores
url https://github.com/Flask-Middleware/flask-security/pull/422
3
reference_url https://github.com/Flask-Middleware/flask-security/releases/tag/3.4.5
reference_id
reference_type
scores
url https://github.com/Flask-Middleware/flask-security/releases/tag/3.4.5
4
reference_url https://github.com/Flask-Middleware/flask-security/security/advisories/GHSA-hh7m-rx4f-4vpv
reference_id
reference_type
scores
url https://github.com/Flask-Middleware/flask-security/security/advisories/GHSA-hh7m-rx4f-4vpv
5
reference_url https://pypi.org/project/Flask-Security-Too
reference_id
reference_type
scores
url https://pypi.org/project/Flask-Security-Too
6
reference_url https://security.archlinux.org/ASA-202105-2
reference_id ASA-202105-2
reference_type
scores
url https://security.archlinux.org/ASA-202105-2
7
reference_url https://security.archlinux.org/AVG-1434
reference_id AVG-1434
reference_type
scores
0
value High
scoring_system archlinux
scoring_elements
url https://security.archlinux.org/AVG-1434
fixed_packages
0
url pkg:pypi/flask-security-too@3.4.5
purl pkg:pypi/flask-security-too@3.4.5
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-tk55-7fdu-9kfq
1
vulnerability VCID-ua6e-h8x5-dbgd
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/flask-security-too@3.4.5
aliases CVE-2021-21241, GHSA-hh7m-rx4f-4vpv, PYSEC-2021-91
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-ktqv-ggxh-skf6
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/flask-security-too@3.4.5