chore(deps): update dependency erlang/otp-lts to v27.3.4.17 - #163
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
27.3.4.16→27.3.4.17Release Notes
erlang/otp (erlang/otp-lts)
v27.3.4.17: OTP 27.3.4.17Compare Source
Check out the git tag OTP-27.3.4.17, and build a full OTP system including documentation. Apply one or more applications from this build as patches to your installation using the 'otp_patch_apply' tool. For information on install requirements, see descriptions for each application version below.
compiler-8.6.1.6
The compiler-8.6.1.6 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
compiler: Fix bug in
beam_types:subtract/2for bitstringsOwn Id: OTP-20312
Related Id(s): GH-11494, PR-11503
crypto-5.5.3.5
The crypto-5.5.3.5 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed type mismatch between
ErlNifUInt64anduint64_tin crypto NIF that caused incompatible-pointer warnings on macOS arm64 when passing DH parameters to OpenSSL.Own Id: OTP-20333
Related Id(s): GH-11511, PR-11513
eldap-1.2.14.2
The eldap-1.2.14.2 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
eldap referral URL parsing now rejects a port component longer than 5 digits instead of attempting to convert an arbitrarily large digit string to an integer.
Own Id: OTP-20345
Related Id(s): PR-11538
erl_interface-5.5.2.2
The erl_interface-5.5.2.2 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
erl_interface: Fix buffer leak and state corruption on
ei_x_buffrealloc failureOwn Id: OTP-20324
Related Id(s): PR-11492
erts-15.2.7.13
The erts-15.2.7.13 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
No-suspend port command signals (i.e. port command signals sent using the
erlang:port_command/3BIF or theerlang:send/3BIF with thenosuspendoption) were not aborted properly in all scenarios which could leave the port queue in a busy state indefinitely. Also asynchronously sent no-suspend command signals (i.e, port command signals sent using theerlang:send/3BIF with thenosuspendoption) could sometimes be delivered even though the port was busy.Own Id: OTP-20135
Related Id(s): GH-11052, PR-11463
erts: Fix missing exit_status caused by SIGCHLD race
Own Id: OTP-20273
Related Id(s): GH-11278, PR-11285
erts: Fix bug in
is_in_rangeinstruction for x86 JITOwn Id: OTP-20278
Related Id(s): GH-11419, PR-11429
Fixed bug in
binary_to_termthat could cause emulator crash for specific terms in specific process states (reductions left).Own Id: OTP-20281
Related Id(s): GH-11404, PR-11425
erts: Fix crash with
term_to_iovec/2for large binaryOwn Id: OTP-20282
Related Id(s): PR-11428
A monitor of
time_offsetco-created with a process alias (monitor(time_offset, clock_service, [{alias, UnaliasOpt}])) either crashed the runtime system or did not work. This bug was introduced in OTP 25.0.Own Id: OTP-20319
Related Id(s): PR-11509
A process alias was erroneously created when a remote
spawn_request()operation with a{monitor, [{alias, explicit_unalias}]}option failed withnoconnectionreason.Own Id: OTP-20330
Related Id(s): PR-11521
A
gen_tcpsocket using the inet driver and{packet,4}had a bug if receiving a packet with size just below INT_MAX.That packet size wrapped in size calculations and made the received data overwrite its allocation and trash allocator metadata and subsequent block(s), causing the VM to crash.
This made it possible for anyone to remotely crash an Erlang node that used
{packet,4}on a reachable socket.This bug has been corrected.
Own Id: OTP-20334
Related Id(s): PR-11533, CVE-2026-75538
inets-9.3.2.7
The inets-9.3.2.7 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
The
detsandmnesiamod_authbackends used a key that did not include the directory path, so allrequire_user/require_grouprecords collapsed into one per-listener namespace. A user authorized for one protected directory could authenticate against any other protected directory served by the same listener.{path, Directory}is now included in the auth backend key, scoping records per directory as documented.Own Id: OTP-20264
Related Id(s): PR-11546
Requests specifying both
Transfer-EncodingandContent-Lengthheaders are now rejected with400 Bad Request, per RFC 9112 Section 6.3. Previously such requests could be used for CL.TE request-smuggling/desync attacks against reverse proxies in front ofhttpd.Own Id: OTP-20268
Related Id(s): PR-11547
httpdaccepted the obsolete header line-folding syntax (RFC 9112 Section 5.2, a continuation line beginning with space/tab), silently treating the folded continuation as a separate header. This allowed CL.TE-style request smuggling whenhttpdwas placed behind a folding-aware proxy. Such requests are now rejected with400 Bad Request.Own Id: OTP-20269
Related Id(s): PR-11544
A header such as
Content-Length : 6(whitespace before the colon) was previously silently dropped, causing the content length to default to 0 and the body bytes to be misinterpreted as a pipelined request (CL.0 smuggling). Per RFC 7230 Section 3.2.4, such headers are now rejected with400 Bad Request.Own Id: OTP-20270
Related Id(s): PR-11545
A new httpd option
request_timeout(default 60 seconds, renamed from the interimmax_body_read_timeout) bounds the idle time between reads of a request body/message. The server now also sends408 Request Timeoutwhen themin_bytes_per_secondfloor is hit, andkeep_alive_timeoutmeasurement was corrected so the timer is cancelled as soon as new data arrives rather than only after full header parsing;keep_alive_timeoutandrequest_timeoutnow also acceptinfinityto disable the timeout.Own Id: OTP-20271
Related Id(s): PR-11543
mod_auth,mod_security, andmod_getcompared resolved filesystem paths against configured protected-directory patterns without normalizing repeated slashes or filesystem case. On case-insensitive filesystems (macOS, Windows) or with repeated slashes, a request could resolve to a protected resource while evading the directory match. Paths are now canonicalized (slash-collapsed, and case-normalized when the filesystem is case-insensitive) before the authorization decision.Own Id: OTP-20279
Related Id(s): PR-11542
A request with an invalid chunked transfer-encoding chunk size previously caused the httpd connection handler to hang indefinitely without requiring further input from the client. This leaked a process per request and could be used to exhaust server resources (denial of service). Invalid chunk sizes are now rejected immediately with an error response, and the connection is closed.
Own Id: OTP-20306
Related Id(s): PR-11539
max_body_sizewas previously enforced only after a complete chunk had been received, allowing a single oversized chunk to be buffered in full before the limit was checked — undermining the memory-exhaustion protection the option is meant to provide. The limit is now enforced incrementally as chunk data arrives, rejecting the request as soon as the configured size is exceeded.Own Id: OTP-20307
Related Id(s): PR-11540
The documented default of 150 for the
max_clientsoption was not applied by the implementation, allowing an unbounded number of concurrent clients to connect regardless of configuration. The default is now correctly enforced.Own Id: OTP-20308
Related Id(s): PR-11541
Fixed a bug where httpd failed to start when configured with {socket_type, {ip_comm, SockOpts}} and a fixed (non-zero) port.
Own Id: OTP-20342
Related Id(s): PR-11548
httpcnow enforces a limit on the total size of response headers and response body, preventing unbounded memory allocation when connecting to a malicious or malfunctioning server. The new max_header_size and max_body_size request options can be used to override the default limit (10240 bytes for headers). Additionally, httpc now validates that the Content-Length header contains only digits before use, avoiding a crash on malformed responses.Own Id: OTP-20343
Related Id(s): PR-11538
kernel-10.2.7.5
Note! The kernel-10.2.7.5 application cannot be applied independently of other applications on an arbitrary OTP 27 installation.
Fixed Bugs and Malfunctions
A field in
net_kernel's internal state was not cleaned up in some cases for failed connections could cause the state to grow indefinitely over time. This has now been fixed.Own Id: OTP-20265
Related Id(s): GH-11308, PR-11388
Handling of the truncation bit in
inet_reshas been fixed so it properly falls back to querying over TCP after a truncated UDP reply.This fixes a bug introduced in OTP-27.3.4.10, kernel-10.2.7.4 making a truncated UDP answer fail to parse and never execute the fallback, instead the name resolve operation fails.
Own Id: OTP-20349
Related Id(s): ERIERL-1352, PR-11247, OTP-20037, OTP-20199
megaco-4.7.2.3
The megaco-4.7.2.3 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Numeric fields in megaco text-encoded messages are now validated for digit-string length before integer conversion, improving robustness of the text decoder. Per-field digit limits based on the H.248.1 ASN.1 type constraints are enforced (e.g., 10 digits for UINT32, 2 digits for timer values), along with a 100 KB overall message size cap at the scanner entry point. The binary (BER/PER) codec is not affected.
Own Id: OTP-20234
Related Id(s): PR-11325
mnesia-4.23.5.4
The mnesia-4.23.5.4 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
A transaction iterating a table (first/1, last/1, next/2, prev/2, select, select_reverse on non-ordered_set) leaked a safe_fixtable hold when the coordinator was killed by an external signal. The table remained fixed for the lifetime of the node, preventing space reclamation of deleted objects.
Own Id: OTP-20347
Related Id(s): PR-11517
Fixed a race condition where mnesia_controller could crash if a table was deleted while
mnesia:set_master_nodes/2was being processed.Own Id: OTP-20351
Related Id(s): PR-11554
snmp-5.18.2.1
The snmp-5.18.2.1 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
The SNMP PDU decoder now bounds the byte length accepted for INTEGER, Counter32, Gauge32/Unsigned32, TimeTicks, and Counter64 values during decoding (4, 5, 5, 5, and 9 bytes respectively, matching the SMIv2 value ranges), instead of accepting an arbitrarily large byte string and converting it to an integer.
Own Id: OTP-20346
Related Id(s): PR-11538
ssh-5.2.11.12
The ssh-5.2.11.12 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed a bug where multiple subsystem requests could succeed on same ssh channel which is forbidden by RFC 4254 §6.5
Own Id: OTP-20284
Related Id(s): PR-11437
ssl-11.2.12.12
Note! The ssl-11.2.12.12 application cannot be applied independently of other applications on an arbitrary OTP 27 installation.
Improvements and New Features
Hardening improvements of the ssl application.
TLS distribution now defaults to TLS-1.3 instead of TLS-1.2 (TLS-1.2 is kept as fallback for rolling upgrades).
TLS-1.2 server with {verify, verify_peer} now defaults reuse_sessions to false to mitigate the Triple Handshake attack (RFC 7627). Set {reuse_sessions, true} explicitly to restore previous behavior.
Various missing or faulty sanity checks added and TLS alerts adjusted to comply with RFC MUST requirements, including: signature algorithm validation for intermediate certificates, TLS-1.3 session_id echo, pre_shared_key extension ordering, and renegotiation_info enforcement.
Hardened and improved CRL support. Introduces new option allowed_hosts for the optional CRL HTTP fetching feature to restrict which hosts may be contacted. Internal/loopback IPs are now blocked by default (SSRF protection).
TLS-1.3 client ticket handling is more robust (locked tickets are released on client crash). Server TLS-1.3 ticket handling and anti-replay Bloom filter performance are optimized.
DTLS duplicate ChangeCipherSpec handling simplified, fixing potential state machine confusion (GH-11075).
Process state formatting no longer leaks secrets in crash logs.
Own Id: OTP-20289
Related Id(s): PR-11478
stdlib-6.2.2.5
The stdlib-6.2.2.5 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
Fixed a bug in
unicode_util:gc/1where the grapheme cluster segmentation of$\r(not followed by$\n) would decompose binary continuations into mixed chardata. This causedstring:trim/3(andstring:chomp/1) to return incorrect results or crash when trimming strings containing binaries followed by another list element.Own Id: OTP-20296
Related Id(s): GH-11380, PR-11464
When compiling a module with a triple-quoted string with escape sequences and a chunk boundary happened to fall just after an escape character, that character was not passed to the reentrancy continuation, so the scanner interpreted the following characters as not an escape sequence.
This bug has now been fixed.
Own Id: OTP-20320
Related Id(s): GH-11423, PR-11505
uri_string:parse/1now rejects URIs with an unreasonably long port component (more than 5 digits) instead of attempting to convert an arbitrarily large digit string to an integer.Own Id: OTP-20344
Related Id(s): PR-11538
tools-4.1.1.1
The tools-4.1.1.1 application can be applied independently of other applications on a full OTP 27 installation.
Fixed Bugs and Malfunctions
tools: fixes tprof not stopping tracing
A call to
tprof:enable_trace(new|existing)starts tracing processes. To stop it, one callstprof:disable_trace(new|existing). However, the guard to stop tracing was matching onnew_processes | existing_processes. The return happens to say0processes are traced now, but the tracing did not stop. This issue has been fixed.Own Id: OTP-20302
Related Id(s): PR-11481
Thanks to
Laurynas Četyrkinas, ruslandoga, Thomas Cioppettini
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.