Debian DLA-1399-1 : ruby-passenger security update

Medium Nessus Plugin ID 110725


The remote Debian host is missing a security update.


Two flaws were discovered in ruby-passenger for Ruby Rails and Rack
support that allowed attackers to spoof HTTP headers or exploit a race
condition which made privilege escalation under certain conditions

CVE-2015-7519 Remote attackers could spoof headers passed to
applications by using an underscore character instead of a dash
character in an HTTP header as demonstrated by an X_User header.

CVE-2018-12029 A vulnerability was discovered by the Pulse Security
team. It was exploitable only when running a non-standard
passenger_instance_registry_dir, via a race condition where after a
file was created, there was a window in which it could be replaced
with a symlink before it was chowned via the path and not the file
descriptor. If the symlink target was to a file which would be
executed by root such as root's crontab file, then privilege
escalation was possible. This is now mitigated by using fchown().

For Debian 8 'Jessie', these problems have been fixed in version

We recommend that you upgrade your ruby-passenger packages.

NOTE: Tenable Network Security has extracted the preceding description
block directly from the DLA security advisory. Tenable has attempted
to automatically clean and format it as much as possible without
introducing additional issues.


Upgrade the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 110725

File Name: debian_DLA-1399.nasl

Version: 1.6

Type: local

Agent: unix

Published: 2018/06/28

Modified: 2018/09/04

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 4.4

Temporal Score: 3.3

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 7

Temporal Score: 6.1

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libapache2-mod-passenger, p-cpe:/a:debian:debian_linux:ruby-passenger, p-cpe:/a:debian:debian_linux:ruby-passenger-doc, cpe:/o:debian:debian_linux:8.0

Patch Publication Date: 2018/06/27

Reference Information

CVE: CVE-2015-7519, CVE-2018-12029