Created attachment 222797 [details] Patch lang/jruby to 9.2.15.0 This includes fixes for various security issues, in particular: * CVE-2011-4815 (predictable hashing DoS) * CVE-2017-17742, CVE-2019-16254, CVE-2020-25613 (WeBrick request smuggling/splitting) * CVE-2017-18640 (SnakeYAML entity expansion DoS) As well as fixes for File.stat/lstat on FreeBSD 12 and later, which previously rendered JRuby unusable on these systems. Port passes portlint and poudriere testport.
An update to 9.2.16.0 will follow shortly.
Created attachment 222956 [details] Patch lang/jruby to 9.2.16.0
Created attachment 223687 [details] Patch lang/jruby to 9.2.17.0
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8147a5a7044e7a055288252731de647ca5e4ecd1 commit 8147a5a7044e7a055288252731de647ca5e4ecd1 Author: Koichiro Iwao <meta@FreeBSD.org> AuthorDate: 2021-04-07 10:37:06 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2021-04-07 10:42:46 +0000 lang/jruby: Update to 9.2.17.0 CVEs are fixed at 9.2.15.0. PR: 253822 Reported by: Thomas Hurst <tom@hur.st> Relnotes: https://www.jruby.org/2021/03/29/jruby-9-2-17-0.html Security: CVE-2011-4815 Security: CVE-2017-17742 Security: CVE-2019-16254 Security: CVE-2020-25613 Security: CVE-2017-18640 lang/jruby/Makefile | 3 +- lang/jruby/distinfo | 6 +- lang/jruby/pkg-plist | 357 ++++++++++++++++++++++++++++++--------------------- 3 files changed, 213 insertions(+), 153 deletions(-)
Committed, thanks!