Deserialization of Untrusted Data Affecting web2py package, versions <2.12.3-1ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
4.94% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-WEB2PY-271086
  • published6 Feb 2018
  • disclosed6 Feb 2018

Introduced: 6 Feb 2018

CVE-2016-3957  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 web2py to version 2.12.3-1ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream web2py package and not the web2py package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

The secure_load function in gluon/utils.py in web2py before 2.14.2 uses pickle.loads to deserialize session information stored in cookies, which might allow remote attackers to execute arbitrary code by leveraging knowledge of encryption_key.