ruby-secure-headers: CVE-2020-5216

Related Vulnerabilities: CVE-2020-5216  

Debian Bug report logs - #949998
ruby-secure-headers: CVE-2020-5216

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Tue, 28 Jan 2020 07:48:01 UTC

Severity: important

Tags: security, upstream

Found in version ruby-secure-headers/6.1.1-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, team@security.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#949998; Package src:ruby-secure-headers. (Tue, 28 Jan 2020 07:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, team@security.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Tue, 28 Jan 2020 07:48:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ruby-secure-headers: CVE-2020-5216
Date: Tue, 28 Jan 2020 08:45:04 +0100
Source: ruby-secure-headers
Version: 6.1.1-1
Severity: important
Tags: security upstream

Hi,

The following vulnerability was published for ruby-secure-headers.

CVE-2020-5216[0]:
| In Secure Headers (RubyGem secure_headers), a directive injection
| vulnerability is present in versions before 3.9.0, 5.2.0, and 6.3.0.
| If user-supplied input was passed into
| append/override_content_security_policy_directives, a newline could be
| injected leading to limited header injection. Upon seeing a newline in
| the header, rails will silently create a new Content-Security-Policy
| header with the remaining value of the original string. It will
| continue to create new headers for each newline. This has been fixed
| in 6.3.0, 5.2.0, and 3.9.0.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2020-5216
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5216

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 29 06:23:03 2020; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.