Advisory

UBUNTU-CVE-2023-38546

Also known as: CVE-2023-38546

Summary

The record has no summary.

Details

This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the specific series of conditions are met. libcurl performs transfers. In its API, an application creates "easy handles" that are the individual handles for single transfers. libcurl provides a function call that duplicates en easy handle called curl_easy_duphandle. If a transfer has cookies enabled when the handle is duplicated, the cookie-enable state is also cloned - but without cloning the actual cookies. If the source handle did not read any cookies from a specific file on disk, the cloned version of the handle would instead store the file name as none (using the four ASCII letters, no quotes). Subsequent use of the cloned handle that does not explicitly set a source to load cookies from would then inadvertently load cookies from a file named none - if such a file exists and is readable in the current directory of the program using libcurl. And if using the correct file format of course.

Severity

Low Basis: CVSS v3 score 3.7, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2023-10-11 06:00 UTC
Modified
2026-04-22 14:09 UTC

Affected packages and fixes

curl

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 7.68.0-1ubuntu2.20 (ecosystem)

Fixed versions

7.68.0-1ubuntu2.20

Fix

  • Fixed version 7.68.0-1ubuntu2.20
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 7.81.0-1ubuntu1.14 (ecosystem)

Fixed versions

7.81.0-1ubuntu1.14

Fix

  • Fixed version 7.81.0-1ubuntu1.14
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 8.2.1-1ubuntu3.1 (ecosystem)

Fixed versions

8.2.1-1ubuntu3.1

Fix

  • Fixed version 8.2.1-1ubuntu3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences