Skip to content
DoS Write-up Beginner

CVE-2020-19909: A Controversial Vulnerability for cURL

An integer overflow existed in curl's --retry-delay command line option, where a value in seconds was multiplied by 1000 to convert to milliseconds. The text argues this is not a real security issue because the overflow only occurs when a user deliberately specifies an extremely long delay, and it was patched in 2019.

thenewstack.io

Published on thenewstack.io

When is a 9.8 CVSS critical security violation not that big a deal? When its rating doesn’t make a lick of sense.

Steven J. Vaughan-Nichols, on thenewstack.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the delay value in seconds was multiplied by 1000 without checking that the result still fits in the integer type used.

Impact

The overflow only happens if the user deliberately specifies a wait of weeks or longer, so it is not an exploitable security problem; Ubuntu called it not a security issue and SUSE said it is not especially plausible.

What the attacker needed

User sets an extremely long retry delay; command-line tool only

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

An integer overflow happens when a number gets too big for the space set aside to hold it, so it wraps around to a wrong value. Here the delay in seconds was multiplied by 1000, and only a deliberately huge delay would overflow. The article's point is that a user would have to ask curl to wait weeks or longer, so no attacker gains anything.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.