VDB
KO
MEDIUM

GHSA-c6r4-qjmw-cvj2

Apache Shiro sends sensitive cookies in HTTPS session without 'Secure' attribute

Details

Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.

This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.

Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.

In the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.apache.shiro:shiro-web
Introduced in: 1.0.0-incubating Fixed in: 2.2.0
Fix # pom.xml: bump <version>2.2.0</version> for org.apache.shiro:shiro-web
Maven / org.apache.shiro:shiro-web
Introduced in: 3.0.0-alpha-1 Fixed in: 3.0.0-alpha-2
Fix # pom.xml: bump <version>3.0.0-alpha-2</version> for org.apache.shiro:shiro-web

References