Advisory

DEBIAN-CVE-2017-1000257

Also known as: CVE-2017-1000257

Summary

The record has no summary.

Details

An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that (non-existing) data with a pointer and the size (zero) to the deliver-data function. libcurl's deliver-data function treats zero as a magic number and invokes strlen() on the data to figure out the length. The strlen() is called on a heap based buffer that might not be zero terminated so libcurl might read beyond the end of it into whatever memory lies after (or just crash) and then deliver that to the application as if it was actually downloaded.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Dates

Published
2017-10-31 21:29 UTC
Modified
2026-09-01 20:02 UTC

Affected packages and fixes

curl

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 7.56.1-1 (ecosystem)

Fixed versions

7.56.1-1

Fix

  • Fixed version 7.56.1-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.

curl

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 7.56.1-1 (ecosystem)

Fixed versions

7.56.1-1

Fix

  • Fixed version 7.56.1-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.

curl

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 7.56.1-1 (ecosystem)

Fixed versions

7.56.1-1

Fix

  • Fixed version 7.56.1-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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences