lib/shell/command-processor.rb (Shell#[]): prevent unknown command
`FileTest.send(command, ...)` allows to call not only FileTest-related
methods but also any method that belongs to Kernel, Object, etc.
patched by <mame@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67814
b2dd03c8-39d4-4d8f-98ff-
823fe69b080e
[Salvatore Bonaccorso: Backport to 2.3.3:
- Context changes in test/shell/test_command_processor.rb
]
Gbp-Pq: Name lib-shell-command-processor.rb-Shell-prevent-unknown.patch
WEBrick: prevent response splitting and header injection
This is a follow up to
d9d4a28f1cdd05a0e8dabb36d747d40bbcc30f16.
The commit prevented CRLR, but did not address an isolated CR or an
isolated LF.
Co-Authored-By: NARUSE, Yui <naruse@airemix.jp>
[Salvatore Bonaccorso: Backport to 2.3.3:
- Context changes in test/webrick/test_httpresponse.rb
]
Gbp-Pq: Name WEBrick-prevent-response-splitting-and-header-inject.patch
CVE-2019-8320-25
Backport of https://github.com/rubygems/rubygems/commit/
56c0bbb69e4506bda7ef7f447dfec5db820df20b
addressing, thanks to Leonidas S. Barbosa
CVE-2019-8320
CVE-2019-8321
CVE-2019-8322
CVE-2019-8323
CVE-2019-8324
CVE-2019-8325
Gbp-Pq: Name CVE-2019-8320-25.patch