Curl Update (Slackware)

For discussions about security.
Post Reply
User avatar
8Geee
Posts: 376
Joined: Wed Jul 29, 2020 10:52 pm
Location: N.E. USA
Has thanked: 17 times
Been thanked: 55 times

Curl Update (Slackware)

Post by 8Geee »

This just found tonite, dated 3/31/21...

"curl 7.63.0 to and including 7.75.0 includes vulnerability that allows a malicious HTTPS proxy to MITM a connection due to bad handling of TLS 1.3 session tickets. When using a HTTPS proxy and TLS 1.3, libcurl can confuse session tickets arriving from the HTTPS proxy but work as if they arrived from the remote server and then wrongly "short-cut" the host handshake."

Folks with Curl using TLS1.3 should update curl.
So should the rest of us...

"curl 7.1.1 to and including 7.75.0 is vulnerable to an "Exposure of Private Personal Information to an Unauthorized Actor" by leaking credentials in the HTTP Referer: header. libcurl does not strip off user credentials from the URL when automatically populating the Referer: HTTP request header field in outgoing HTTP requests, and therefore risks leaking sensitive data to the server that is the target of the second HTTP request."

Regards
8Geee

Money talks... no, it shouts, so that it doesn't have to hear common sense.

User avatar
mikeslr
Posts: 2965
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 922 times

Re: Curl Update (Slackware)

Post by mikeslr »

Thanks, 8Geee for the post. Publisher's of Puppies take notice that an even shorter version of that short post is that curl should be updated for PROBABLY all Puppy versions because curl 7.63.0 to and including 7.75.0 includes vulnerability that allows a malicious HTTPS proxy to MITM --which I take to mean "man in the middle"-- and curl 7.1.1 to and including 7.75.0 is vulnerable to an "Exposure of Private Personal Information to an Unauthorized Actor" by leaking credentials.

My Bionicpup64 came with 7.58.0 release date 2018-01-24 per terminal command "curl --version".

Is updating as easy as downloading an updated version from a repo and installing? or does curl have dependencies which must be met? or will such a simple the install of an updated version break something?

This was addressed to Publisher's are their providing updates would be much more efficient than thousands of Puppy Fans doing 'home-brews'.

User avatar
bigpup
Moderator
Posts: 6999
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 913 times
Been thanked: 1528 times

Re: Curl Update (Slackware)

Post by bigpup »

curl / Download
https://curl.se/download.html

Has about anyway you want to get it.
Each main stream version of Linux has a package specific for them.
So, for Bionicpup, the one for Ubuntu Bionic should work.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
mikeslr
Posts: 2965
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 922 times

Re: Curl Update (Slackware)

Post by mikeslr »

Hi bigpup,

Unless I missed something, while the website you linked to does provide packages, I didn't see anything to indicate that the packages provided were "patched". In other words, for example, the curl 7.58.0 for Bionic is the same 7.58.0 available since 2018 and does not address the vulnerabilities 8Geee pointed out. Further, as far as I can tell, as yet neither the publishers at that site, nor Ubuntu, nor debian --whose libraries are often used by Ubuntu or can be used by 'Ubuntu users', including 'Ubuntu-compatible' Puppy version User-- have published a curl 7.76 version; one which does address those vulnerabilities.

Which leads to several other questions. As someone who doesn't compile, in order to build applications requiring libraries I've occasionally foraged at https://pkgs.org/ which provides a Search box and links to the repositories of many 'Major Distros'. Very often the difference between a package from one distro and that from another is merely how it's been packaged: i.e., assembled to be used by a specific package manager. Under Puppys, the package can be decompressed and the actual library or binary used. But not always. Sometimes a binary or library has been compiled with reference to other binaries or libraries of that distro: attempts to employ it in a different distro fail.

The 32-bit/64-bit dichotomy always must be considered. But other than that, is it possible to use the curl compiled for a different distro --or with regard to Puppys, a non-binary-compatible distro? I note, for example, that curl 7.76 has been published for both Slackware 64 and Slackware 32-bit systems.

If an updated library relating to security can be employed across distros, shouldn't a pet be provided via a link in the Additional Software>Security Section?

User avatar
bigpup
Moderator
Posts: 6999
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 913 times
Been thanked: 1528 times

Re: Curl Update (Slackware)

Post by bigpup »

Probably are going to have to use the source files, at the top of the web page, and compile for a specific Puppy version.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Re: Curl Update (Slackware)

Post by ozsouth »

ScPup64-21.04 has curl 7.76 and the required glibc 2.33. Earlier ScPup64 versions have glibc 2.30 which will not allow slackware current64's curl 7.76 package to work.

User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

Re: Curl Update (Slackware)

Post by wiak »

I didn't myself know about this curl vulnerability, but since checked my WDL_Arch54 system, which turns out uses:

Code: Select all

[root@bootstrap ~]# curl --version
curl 7.76.0 (x86_64-pc-linux-gnu) libcurl/7.76.0 OpenSSL/1.1.1j zlib/1.2.11 zstd/1.4.8 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2021-03-31

It's a rolling release distro.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

mistfire
Posts: 718
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 173 times

Re: Curl Update (Slackware)

Post by mistfire »

I wonder if my new QuickPup 21.00 can fetch that update from slackware current via newly improved updates_mgr?

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Re: Curl Update (Slackware)

Post by ozsouth »

I compiled curl 7.76.0 for glibc 2.30 for older ScPup64 versions (21.01, 20.06, 20.01)
see: viewtopic.php?p=21946#p21946

User avatar
peebee
Posts: 1636
Joined: Mon Jul 13, 2020 10:54 am
Location: Worcestershire, UK
Has thanked: 157 times
Been thanked: 714 times
Contact:

Re: Curl Update (Slackware)

Post by peebee »

Slackware 14.2 has updated to 7.76 and is probably quite widely applicable as it uses glibc-2.23 ....

http://slackware.cs.utah.edu/pub/slackw ... ck14.2.txz

http://slackware.cs.utah.edu/pub/slackw ... ck14.2.txz

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

mistfire
Posts: 718
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 173 times

Re: Curl Update (Slackware)

Post by mistfire »

Latest curl update is now included on QuickPup 21.01

User avatar
8Geee
Posts: 376
Joined: Wed Jul 29, 2020 10:52 pm
Location: N.E. USA
Has thanked: 17 times
Been thanked: 55 times

Re: Curl Update (Slackware)

Post by 8Geee »

So how do I, in slacko-5.7, get to at least glibc2.23... OpenSSL1.1.1* requires glibc2.25 with calls to 2.17 and 2.16.
I would like to keep AtomicPup useable for FTP purposes, now that all browsers no longer support it

Thanks and regards
8Geee

Money talks... no, it shouts, so that it doesn't have to hear common sense.

Post Reply

Return to “Security”