PyPi: Pyramid

CVE-2014-4671

Safety vulnerability ID: 32204

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jul 09, 2014 Updated at Mar 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

pyramid before 1.6a2 isn't sanitising JSONP callbacks correctly, see CVE-2014-4671.
https://github.com/Pylons/pyramid/commit/67efda77a878450c217b90370e1a47e2d35d772a

Affected package

pyramid

Latest version: 2.0.2

The Pyramid Web Framework, a Pylons project

Affected versions

Fixed versions

Vulnerability changelog

==================

Bug Fixes
---------

- Ensure that ``pyramid.httpexceptions.exception_response`` returns the
appropriate "concrete" class for ``400`` and ``500`` status codes.
See https://github.com/Pylons/pyramid/issues/1832

- Fix an infinite recursion bug introduced in 1.6a1 when
``pyramid.view.render_view_to_response`` was called directly or indirectly.
See https://github.com/Pylons/pyramid/issues/1643

- Further fix the JSONP renderer by prefixing the returned content with
a comment. This should mitigate attacks from Flash (See CVE-2014-4671).
See https://github.com/Pylons/pyramid/pull/1649

- Allow periods and brackets (``[]``) in the JSONP callback. The original
fix was overly-restrictive and broke Angular.
See https://github.com/Pylons/pyramid/pull/1649

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 4.3

CVSS v2 Details

MEDIUM 4.3
Access Vector (AV)
NETWORK
Access Complexity (AC)
MEDIUM
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
NONE
Availability Impact (A)
NONE