- Package:
- src:assertj-core
- Source:
- src:assertj-core
- Submitter:
- Salvatore Bonaccorso
- Date:
- 2026-11-13 11:53:02 UTC
- Severity:
- normal
- Tags:
Hi, The following vulnerability was published for assertj-core. CVE-2026-24400[0]: | AssertJ provides Fluent testing assertions for Java and the Java | Virtual Machine (JVM). Starting in version 1.4.0 and prior to | version 3.27.7, an XML External Entity (XXE) vulnerability exists in | `org.assertj.core.util.xml.XmlStringPrettyFormatter`: the | `toXmlDocument(String)` method initializes `DocumentBuilderFactory` | with default settings, without disabling DTDs or external entities. | This formatter is used by the `isXmlEqualTo(CharSequence)` assertion | for `CharSequence` values. An application is vulnerable only when it | uses untrusted XML input with either `isXmlEqualTo(CharSequence)` | from `org.assertj.core.api.AbstractCharSequenceAssert` or | `xmlPrettyFormat(String)` from | `org.assertj.core.util.xml.XmlStringPrettyFormatter`. If untrusted | XML input is processed by tone of these methods, an attacker | couldnread arbitrary local files via `file://` URIs (e.g., | `/etc/passwd`, application configuration files); perform Server-Side | Request Forgery (SSRF) via HTTP/HTTPS URIs, and/or cause Denial of | Service via "Billion Laughs" entity expansion attacks. | `isXmlEqualTo(CharSequence)` has been deprecated in favor of XMLUnit | in version 3.18.0 and will be removed in version 4.0. Users of | affected versions should, in order of preference: replace | `isXmlEqualTo(CharSequence)` with XMLUnit, upgrade to version | 3.27.7, or avoid using `isXmlEqualTo(CharSequence)` or | `XmlStringPrettyFormatter` with untrusted input. | `XmlStringPrettyFormatter` has historically been considered a | utility for `isXmlEqualTo(CharSequence)` rather than a feature for | AssertJ users, so it is deprecated in version 3.27.7 and removed in | version 4.0, with no replacement. 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-2026-24400 https://www.cve.org/CVERecord?id=CVE-2026-24400 [1] https://github.com/assertj/assertj/security/advisories/GHSA-rqfh-9r24-8c9r [2] https://github.com/assertj/assertj/commit/85ca7eb6609bb179c043b85ae7d290523b1ba79a Please adjust the affected versions in the BTS as needed. Regards, Salvatore
We believe that the bug you reported is fixed in the latest version of
assertj-core, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1127938@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emmanuel Bourg <ebourg@apache.org> (supplier of updated assertj-core package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 13 Nov 2026 11:35:13 +0100
Source: assertj-core
Architecture: source
Version: 3.27.7-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebourg@apache.org>
Closes: 1127938
Changes:
assertj-core (3.27.7-1) unstable; urgency=medium
.
* New upstream release
- Fixes CVE-2026-24400: XXE vulnerability in XmlStringPrettyFormatter
(Closes: #1127938)
- Refreshed the patches
- Updated the Maven rules
* Converted debian/watch to the version 5 format
* Ignore the test dependency on commons-text
* Standards-Version updated to 4.7.4
* Removed the Priority field
* Updated the Homepage field
* Fixed the file paths in debian/copyright
Checksums-Sha1:
e2bdcd6cb081f4ce723dd16a71223ccc12f813d9 2214 assertj-core_3.27.7-1.dsc
ebd5c0eb398e195c54883995d386d283e49783c2 1119784 assertj-core_3.27.7.orig.tar.xz
6d9f6022e3e9fda2fa55d2d741d7e823e19ef64d 4540 assertj-core_3.27.7-1.debian.tar.xz
2364bd351dc6787cff411c2d089b50425fe78a92 16081 assertj-core_3.27.7-1_source.buildinfo
Checksums-Sha256:
7a889173f6530a1918dda489200f9964734544a5e05d9d05fbc8205a98531908 2214 assertj-core_3.27.7-1.dsc
049e7d998476c8b2afee79dfac3a8489ccb3f2531d1008a86c11efd86177e057 1119784 assertj-core_3.27.7.orig.tar.xz
b8122ea776342c8efdb1f87401f0f26ab4262bfca2ee4e6f6f343b4d36784e47 4540 assertj-core_3.27.7-1.debian.tar.xz
45e7bfa2517f22e276c7711ea5cd728060fd68c232cb1afca44248b6a4bdd3b9 16081 assertj-core_3.27.7-1_source.buildinfo
Files:
511e7a1b97bf44093781c901d19e15ab 2214 java optional assertj-core_3.27.7-1.dsc
95033a0525a1c6ccd5ceb41d30e943d4 1119784 java optional assertj-core_3.27.7.orig.tar.xz
80a57932d8f0ee6d828ed2bdb947c700 4540 java optional assertj-core_3.27.7-1.debian.tar.xz
e4c7b381efb2f2778e2aacc6890fa245 16081 java optional assertj-core_3.27.7-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmr28+gSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsrjYQAIZoKwxJF1mUm00qyGsV/8QeGqiqWGS4
N1boRTJuEpAZYWSN6QVglT63E4qCJGql6V9+Chmp8wWsrfDRdmaDbwday4YolnJu
WuVW6AriDqacffYBdoJOhsYfS7Z/h1NWmYKIDzFOLXrtvJN/qMCMFgvfNPCczTDy
KhD3HqFNJ/ksULsEnEewSUTyP2syjlMyX5JV0Z3BIQcTbF9r9mUOSZgcusG3Y2LH
uuFIo1DZp34pwxPnoNn2SScdNEMQFYKY0OxEkOJKMIzSrlFd4cE6I7rNddyvsH6v
BZgHnwtOQBvOjpWBdK1BO6vPDfCexGuL9sio5orqgTHlLjNMvdp699r6U2E38yPc
3vAkmNUdUPfET7vlkO5iH5Fb2rgX4EhLRjbxFpla8WQWbjub4ALSx0h8CiyOxhNg
szct62IWlpisWWgEAl2V/PFL5XRggLT/9wc7Mh608pSU1c62mPiSeOo4i+jPIAyg
I4TOfrXVXVimb53E7rsDnNQy/zmtF1mpNH4L5OqKzU1f/ii3XbIcW/b5f5NVDhhN
9ND6zAhotltZ01XmQ5/b6HgqeUlgTtnBt2c7DdGdG41au61OEdT3CRbNCspxI9xn
wJJj3Dt/s/g6XkiGp8eX8o9LBzCvhtpg+UHToewCqYam215FidbtTv9behuyAdAl
GMD7UZEPr5AT
=pUxK
-----END PGP SIGNATURE-----