Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2020-5216

Опубликовано: 22 янв. 2020
Источник: redhat
CVSS3: 5.8
EPSS Низкий

Описание

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.

A directive injection vulnerability was found in Secure Headers RubyGem before versions 3.9.0, 5.2.0, and 6.3.0. If user-supplied input was passed into the vulnerable function, a new line could be injected, leading to limited header injection, which could create a new Content Security Policy header in the HTTP response.

Отчет

Satellite 6 ships Secure Header rubygem, however, it does not accept any user input in override_content_security_policy_directive or append_content_security_policy_directive. All directives are hard-coded and therefor Satellite 6 is not vulnerable to this CVE. We may update this rubygem in future release.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
CloudForms Management Engine 5cfme-gemsetWill not fix
Red Hat Satellite 6.8 for RHEL 7ansible-collection-redhat-satelliteFixedRHSA-2020:436627.10.2020
Red Hat Satellite 6.8 for RHEL 7ansiblerole-foreman_scap_clientFixedRHSA-2020:436627.10.2020
Red Hat Satellite 6.8 for RHEL 7ansiblerole-insights-clientFixedRHSA-2020:436627.10.2020
Red Hat Satellite 6.8 for RHEL 7ansiblerole-satellite-receptor-installerFixedRHSA-2020:436627.10.2020
Red Hat Satellite 6.8 for RHEL 7ansible-runnerFixedRHSA-2020:436627.10.2020
Red Hat Satellite 6.8 for RHEL 7candlepinFixedRHSA-2020:436627.10.2020
Red Hat Satellite 6.8 for RHEL 7createrepo_cFixedRHSA-2020:436627.10.2020
Red Hat Satellite 6.8 for RHEL 7foremanFixedRHSA-2020:436627.10.2020
Red Hat Satellite 6.8 for RHEL 7foreman-bootloaders-redhatFixedRHSA-2020:436627.10.2020

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-113->CWE-284
https://bugzilla.redhat.com/show_bug.cgi?id=1801286rubygem-secure_headers: limited header injection when using dynamic overrides with user input

EPSS

Процентиль: 57%
0.00347
Низкий

5.8 Medium

CVSS3

Связанные уязвимости

CVSS3: 4.4
ubuntu
около 6 лет назад

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.

CVSS3: 4.4
nvd
около 6 лет назад

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.

CVSS3: 4.4
debian
около 6 лет назад

In Secure Headers (RubyGem secure_headers), a directive injection vuln ...

CVSS3: 4.4
github
около 6 лет назад

Limited header injection when using dynamic overrides with user input in RubyGems secure_headers

EPSS

Процентиль: 57%
0.00347
Низкий

5.8 Medium

CVSS3