News: 1696948208

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Fresh curl tomorrow will patch 'worst' security flaw in ages

(2023/10/10)


Start your patch engines – a new version of curl is due tomorrow that addresses a pair of flaws, one of which lead developer Daniel Stenberg [1]describes as "probably the worst curl security flaw in a long time."

Curl 8.4.0 will hit at around 0600 UTC (0800 CEST, 0700 BST, 0200 EST, 2300 PDT) on October 11 and deal with CVE-2023-38545, which affects both libcurl and the curl tool, and CVE-2023-38546, which only affects libcurl.

The release has no API or ABI changes, so the update should slot in without too much aggravation.

[2]

CVE-2023-38545 is rated as a high-severity CVE. Stenberg did not disclose any information about either flaw other than to note that the normal development process had to be cut short to get the fixes out as quickly as possible.

curl is used daily by virtually every internet-using human on the globe

Stenberg said: "I cannot disclose any information about which version range is affected, as that would help identify the problem (area) with a very high accuracy so I cannot do that ahead of time.

"The 'last several years' of versions is as specific as I can get."

[3]

[4]

Curl is one of those tools that forms the backbone of the internet and is a command line file transfer tool. [5]According to the project team, the service is used in command lines and scripts to transfer data and is found in a range of connected devices, from printers to cars. The team claims it is "the internet transfer engine for thousands of software applications in over twenty billion installations," adding: "curl is used daily by virtually every internet-using human on the globe."

It first emerged in 1998, [6]according to Stenberg, although its predecessors, urlget and httpget, date back to 1996. Stenberg adopted the cURL name because "the word contains URL and already then the tool worked primarily with URLs, and I thought that it was fun to partly make it a real English word 'curl' but also that you could pronounce it 'see URL' as the tool would display the contents of a URL."

[7]

Later, a backronym was coined: "Curl URL Request Library."

An urgent fix is probably not the best 25th anniversary gift for the curl team, but here we are.

Ax Sharma, a security researcher at Sonatype, noted the concern around the vulnerability and said: "This isn't Log4j reloaded as some are painting it."

[8]

He went on: "Most usage of curl is as a command-line utility, distributed as an operating system package and used as a system level service provider or utility, which means normal OS updates should automatically take care of this. It's very different from Log4j, which is embedded as a dependency, many layers deep, with no direct update capability."

[9]Curl, the URL fetcher that can, marks 25 years of transfers

[10]CLI-beautifying ANSI escape sequences can also make your log files a security threat

[11]OpenAI opens ChatGPT floodgates with dirt-cheap API

[12]Memory safety is the new black, fashionable and fit for any occasion

That said, Sharma emphasized that this is still a nasty vulnerability – that HIGH severity classification is a handy clue – and warned: "The most likely attack surface people should watch for when it comes to vulnerabilities is docker base images that aren't receiving updates and which happen to have an application that leverages the vulnerable libcurl."

He went on: "Overall, the best thing to do here is to not panic, but to install the patched packages ASAP, and don't forget that containers can also contain operating systems – so keep them in mind."

As for Stenberg, he said: "Now you know. Plan accordingly." ®

Get our [13]Tech Resources



[1] https://github.com/curl/curl/discussions/12026

[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_security/patches&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ZSV1ImrPoC7y5zuuYibckwAAAQI&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_security/patches&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZSV1ImrPoC7y5zuuYibckwAAAQI&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_security/patches&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZSV1ImrPoC7y5zuuYibckwAAAQI&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[5] https://curl.se/

[6] https://daniel.haxx.se/blog/2015/03/20/curl-17-years-old-today/

[7] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_security/patches&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZSV1ImrPoC7y5zuuYibckwAAAQI&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[8] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_security/patches&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZSV1ImrPoC7y5zuuYibckwAAAQI&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[9] https://www.theregister.com/2023/03/21/curl_project_25/

[10] https://www.theregister.com/2023/08/09/ansi_escape_sequence_risks/

[11] https://www.theregister.com/2023/03/02/openai_api_chatgpt_whisper/

[12] https://www.theregister.com/2023/01/26/memory_safety_mainstream/

[13] https://whitepapers.theregister.com/



This isn't Log4j reloaded as some are painting it

Clausewitz4.0

This isn't Log4j reloaded as some are painting it

Sure. Curl / libcurl are used from nuclear silos to ERP integrations. Not that bad. Aham.

Pascal Users:
The Pascal system will be replaced next Tuesday by Cobol.
Please modify your programs accordingly.