#1104414 libsoup3: CVE-2025-4035

Package:
src:libsoup3
Source:
src:libsoup3
Submitter:
Salvatore Bonaccorso
Date:
2025-07-11 21:47:02 UTC
Severity:
normal
Tags:
#1104414#5
Date:
2025-04-29 19:56:42 UTC
From:
To:
Source: libsoup3
Version: 3.6.5-1
Severity: important
Tags: security upstream
Forwarded: https://gitlab.gnome.org/GNOME/libsoup/-/issues/443
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>
Control: clone -1 -2
Control: reassign -2 src:libsoup2.4 2.74.3-10
Control: retitle -2 libsoup2.4: CVE-2025-4035

Hi,

The following vulnerability was published for libsoup.

CVE-2025-4035[0]:
| A flaw was found in libsoup. When handling cookies, libsoup clients
| mistakenly allow cookies to be set for public suffix domains if the
| domain contains at least two components and includes an uppercase
| character. This bypasses public suffix protections and could allow a
| malicious website to set cookies for domains it does not own,
| potentially leading to integrity issues such as session fixation.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2025-4035
https://www.cve.org/CVERecord?id=CVE-2025-4035
[1] https://gitlab.gnome.org/GNOME/libsoup/-/issues/443
[2] https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/448

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1104414#12
Date:
2025-07-11 21:46:23 UTC
From:
To:
Control: retitle -1 libsoup3: CVE-2025-4035: public suffix protection bypass via non-canonicalized domains

A fix is being developed on
https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/448 but it
doesn't seem to be quite there yet. I'm sure upstream would appreciate
help if someone can provide it, but I don't have relevant expertise.

     smcv