BSD Ports

www/rubygem-cgi_multipart_eof_fix 2.5.0 FreeBSD

Fix an exploitable bug in CGI multipart parsing

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2, RUBY
Categories
www, rubygems
Package size
14.3 KiB, 36.8 KiB installed

Description

Fixes an exploitable bug in CGI multipart parsing which affects Ruby <= 1.8.5. When multipart boundary attributes contain non-halting regular expression strings, the boundary searcher in the CGI module does not properly escape the parameter and will execute arbitrary regular expressions. This fix adds escaping for the user data.

\* Affected application servers: standalone CGI, Mongrel, WEBrick
\* Unaffected: FastCGI, Ruby 1.8.6 (all servers)
\* Unknown: mod\_ruby

This fix will not modify versions of Ruby greater than 1.8.5, and is cumulative with previous CGI multipart vulnerability fixes.

In the other systems

SystemPortVersion
FreeBSDwww/rubygem-cgi_multipart_eof_fix2.5.0
DragonFlywww/rubygem-cgi_multipart_eof_fix2.5.0

Install

Binary package:

pkg install rubygem-cgi_multipart_eof_fix

From the ports tree:

cd /usr/ports/www/rubygem-cgi_multipart_eof_fix/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-cgi_multipart_eof_fix>0:www/rubygem-cgi_multipart_eof_fix

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.5.02.5.02.5.02.5.02.5.0
FreeBSD:14:quarterly2.5.02.5.0n/a2.5.02.5.0
FreeBSD:15:latest2.5.02.5.0n/a2.5.02.5.0
FreeBSD:15:quarterly2.5.02.5.0n/an/an/a
FreeBSD:16:latest2.5.02.5.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/cgi_multipart_eof_fix-2.5.0.gem11776f6638858f2748f2701ae96fc7a939000f0feba1870011483d7d10662140cd672
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.