Description of the patch:
This update for ant fixes the following issues:
- CVE-2021-36374: excessive memory allocation when reading a specially crafted ZIP archive or a derived formats
(bsc#1188469).
- CVE-2025-7962: jakarta: improper neutralization of \r and \n UTF-8 characters can lead to SMTP injection
(bsc#1246873).
- CVE-2026-78254: path traversal in ftp and scp tasks allows for arbitrary file writes (bsc#1280015).
Changes for ant:
- Upgrade to version 1.10.18
- the default value for <ftp>'s useSecureDataChannel has been
changed to true which means using ftps now also tries to use
an encrypted data channel by default.
- the <ftp> and <scp> tasks have new allowFilesToEscapeDest
attributes. When set to false - which is the default - the
tasks will not download files or create directories outside
the designated destination directory when downloading from the
remote server. In the unlikely case you need the old bahaviour
of writing outside the destination directory you must set the
value to true explicitly.
- when using the SOURCE_DATE_EPOCH environment variable to set
the time for <tstamp> the timezone will now be set to UTC for
DSTAMP, TSTAMP and TODAY. This also applies to nested formats
where the locale now also defaults to en_US unless it (or the
timezone) have been set explicitly.
- Upgraded the jakarta.mail dependency to 2.0.2 because of
bsc#1246873, CVE-2025-7962.
- the SOURCE_DATE_EPOCH environment variable as well as the
magic ant.tstamp.now and ant.tstamp.now.iso properties now
also affect the timestamp added to a properties file written
by <propertyfile> - but only if jdkproperties has its default
value of false.
- a new method getBuildDate in Project can now be used to
calculate a notion of a "build date" that consults the
SOURCE_DATE_EPOCH environment variable as well as the magic
ant.tstamp.now and ant.tstamp.now.iso properties in this order
which you can use if you want to…