You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "subbudvk (via GitHub)" <gi...@apache.org> on 2026/04/23 05:50:33 UTC
[PR] COMPRESS-723 TAR PAX header parsing: enforce memory bound to mitigate resource exhaustion from oversized headers [commons-compress]
subbudvk opened a new pull request, #770:
URL: https://github.com/apache/commons-compress/pull/770
Enforce a configurable memory bound on PAX header parsing via a new `maxPaxHeaderSize` builder option on `TarArchiveInputStream` and `TarFile`. The default is 10 MB (`TarConstants.DEFAULT_MAX_PAX_HEADER_SIZE`), enforced through the existing `MemoryLimitException.checkBytes()` mechanism. This closes the last unbounded allocation surface in the TAR parsing pipeline and follows the same defense-in-depth pattern already established for entry names and 7z headers.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [COMPRESS-723] TAR PAX header parsing: enforce memory bound to mitigate resource exhaustion from oversized headers [commons-compress]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory merged PR #770:
URL: https://github.com/apache/commons-compress/pull/770
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] COMPRESS-723 : TAR PAX header parsing: enforce memory bound to mitigate resource exhaustion from oversized headers [commons-compress]
Posted by "subbudvk (via GitHub)" <gi...@apache.org>.
subbudvk commented on PR #770:
URL: https://github.com/apache/commons-compress/pull/770#issuecomment-4316111015
@garydgregory
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org