Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: curl #1123

Closed
dongsupark opened this issue Jul 19, 2023 · 0 comments · Fixed by flatcar/scripts#1049
Closed

update: curl #1123

dongsupark opened this issue Jul 19, 2023 · 0 comments · Fixed by flatcar/scripts#1049
Labels
advisory security advisory cvss/MEDIUM >= 4 && < 7 assessed CVSS security security concerns

Comments

@dongsupark
Copy link
Member

dongsupark commented Jul 19, 2023

Name: curl
CVEs: CVE-2023-32001
CVSSs: 5.0
Action Needed: update to >= 8.2.0

Summary:

VULNERABILITY

libcurl can be told to save cookie, HSTS and/or alt-svc data to files. When doing this, it called stat() followed by fopen() in a way that made it vulnerable to a TOCTOU race condition problem.

By exploiting this flaw, an attacker could trick the victim to create or overwrite protected files holding this data in ways it was not intended to.

INFO

The attacker needs permissions and rights enough to be able to create or rename directory entries in the directory the victim saves their files.

This race condition modifies the behavior of symbolic link files in affected components, they might be followed instead of being overwritten when the condition is met leading to undesired and potentially destructive behavior.

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2023-32001 to this issue.

  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
  • Severity: Medium

AFFECTED VERSIONS

  • Affected versions: libcurl 7.84.0 to and including 8.1.2
  • Not affected versions: libcurl < 7.84.0 and >= 8.2.0
  • Introduced-in: curl/curl@20f9dd6bae50b722

See also https://seclists.org/oss-sec/2023/q3/41.

Gentoo: https://bugs.gentoo.org/910564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
advisory security advisory cvss/MEDIUM >= 4 && < 7 assessed CVSS security security concerns
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant