CVE-2024-1681

ADVISORY - github

Summary

corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug. An attacker can inject fake log entries into the log file by sending a specially crafted GET request containing a CRLF sequence in the request path. This vulnerability allows attackers to corrupt log files, potentially covering tracks of other attacks, confusing log post-processing tools, and forging log entries. The issue is due to improper output neutralization for logs.

EPSS Score: 0.00179 (0.391)

Common Weakness Enumeration (CWE)

ADVISORY - nist

Improper Output Neutralization for Logs

ADVISORY - github

Improper Output Neutralization for Logs

ADVISORY - gitlab

OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities

Improper Output Neutralization for Logs

OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities


PypA

CREATED

UPDATED

ADVISORY ID

PYSEC-2024-271

EXPLOITABILITY SCORE

3.9

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-

CVSS SCORE

5.3medium
PackageTypeOS NameOS VersionAffected RangesFix Versions
flask-corspypi--=6.0.2Not yet available
flask-corspypi--=0.0.0.dev3Not yet available
flask-corspypi--=0.0.0.dev4Not yet available
flask-corspypi--=1.0Not yet available
flask-corspypi--=1.1Not yet available
flask-corspypi--=1.1.1Not yet available
flask-corspypi--=1.1.2Not yet available
flask-corspypi--=1.1.3Not yet available
flask-corspypi--=1.10.0Not yet available
flask-corspypi--=1.10.1Not yet available
flask-corspypi--=1.10.2Not yet available
flask-corspypi--=1.10.3Not yet available
flask-corspypi--=1.2.0Not yet available
flask-corspypi--=1.2.1Not yet available
flask-corspypi--=1.3.0Not yet available
flask-corspypi--=1.3.1Not yet available
flask-corspypi--=1.4.0Not yet available
flask-corspypi--=1.5.0Not yet available
flask-corspypi--=1.6.0Not yet available
flask-corspypi--=1.6.1Not yet available
flask-corspypi--=1.7.0Not yet available
flask-corspypi--=1.7.1Not yet available
flask-corspypi--=1.7.2Not yet available
flask-corspypi--=1.7.3Not yet available
flask-corspypi--=1.7.4Not yet available
flask-corspypi--=1.8.0Not yet available
flask-corspypi--=1.8.1Not yet available
flask-corspypi--=1.9.0Not yet available
flask-corspypi--=2.0.0Not yet available
flask-corspypi--=2.0.0rc1Not yet available
flask-corspypi--=2.0.1Not yet available
flask-corspypi--=2.1.0Not yet available
flask-corspypi--=2.1.1Not yet available
flask-corspypi--=2.1.2Not yet available
flask-corspypi--=2.1.3Not yet available
flask-corspypi--=3.0.0Not yet available
flask-corspypi--=3.0.1Not yet available
flask-corspypi--=3.0.10Not yet available
flask-corspypi--=3.0.2Not yet available
flask-corspypi--=3.0.3Not yet available
flask-corspypi--=3.0.4Not yet available
flask-corspypi--=3.0.6Not yet available
flask-corspypi--=3.0.7Not yet available
flask-corspypi--=3.0.8Not yet available
flask-corspypi--=3.0.9Not yet available
flask-corspypi--=4.0.0Not yet available
flask-corspypi--=4.0.0a0Not yet available
flask-corspypi--=4.0.1Not yet available
flask-corspypi--=4.0.2Not yet available
flask-corspypi--=5.0.0Not yet available
flask-corspypi--=5.0.1Not yet available
flask-corspypi--=6.0.0Not yet available
flask-corspypi--=6.0.1Not yet available
flask-corspypi--=6.0.1.dev0Not yet available

CVSS:3 Severity and metrics

The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.

The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment (e.g., CVE-2013-6014).

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.

The vulnerable system can be exploited without interaction from any user.

An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.

There is no loss of confidentiality.

Modification of data is possible, but the attacker does not have control over the consequence of a modification, or the amount of modification is limited. The data modification does not have a direct, serious impact on the impacted component.

There is no impact to availability within the impacted component.

NIST

CREATED

UPDATED

ADVISORY IDCVE-2024-1681
EXPLOITABILITY SCORE

3.9

EXPLOITS FOUND
COMMON WEAKNESS ENUMERATION (CWE)

CVSS SCORE

5.3medium

GitHub

CREATED

UPDATED

EXPLOITABILITY SCORE

3.9

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)

CVSS SCORE

5.3medium

Debian

CREATED

UPDATED

ADVISORY IDCVE-2024-1681
EXPLOITABILITY SCORE

-

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-
RATING UNAVAILABLE FROM ADVISORY

Ubuntu

CREATED

UPDATED

ADVISORY IDCVE-2024-1681
EXPLOITABILITY SCORE

3.9

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-

CVSS SCORE

5.3medium

GitLab

CREATED

UPDATED

ADVISORY ID

CVE-2024-1681

EXPLOITABILITY SCORE

3.9

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)

CVSS SCORE

5.3medium

Chainguard

CREATED

UPDATED

ADVISORY ID

CGA-29fc-3hfx-348c

EXPLOITABILITY SCORE

-

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-
RATING UNAVAILABLE FROM ADVISORY

Chainguard

CREATED

UPDATED

ADVISORY ID

CGA-4m77-hch5-975q

EXPLOITABILITY SCORE

-

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-
RATING UNAVAILABLE FROM ADVISORY

Chainguard

CREATED

UPDATED

ADVISORY ID

CGA-jr52-5m9j-gvww

EXPLOITABILITY SCORE

-

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-
RATING UNAVAILABLE FROM ADVISORY

Chainguard

CREATED

UPDATED

ADVISORY ID

CGA-vqr9-gw75-6v3w

EXPLOITABILITY SCORE

-

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-
RATING UNAVAILABLE FROM ADVISORY