Insufficient Session Expiration Affecting aiohttp-session package, versions [,2.7.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.97% (57th 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-PYTHON-AIOHTTPSESSION-72728
  • published24 Dec 2018
  • disclosed11 Oct 2018
  • creditUnknown

Introduced: 11 Oct 2018

CVE-2018-1000814  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade aiohttp-session to version 2.7.0 or higher.

Overview

aiohttp-session provides sessions for aiohttp.web.

Affected versions of this package are vulnerable to Insufficient Session Expiration via the EncryptedCookieStorage and NaClCookieStorage functions that can result in Non-expiring sessions / Infinite lifespan. This attack appear to be exploitable via Recreation of a cookie post-expiry with the same value.

CVSS Base Scores

version 3.1