# CVE-2020-5229: Opencast stores passwords using outdated MD5 hash algorithm

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2020-01-30T20:05:17.000Z
- Modified: 2026-09-10T03:48:42.375Z
- Also known as: GHSA-h362-m8f2-5x7c
- Weaknesses: CWE-327
- Assigned by: GitHub_M

## Description

Opencast before 8.1 stores passwords using the rather outdated and cryptographically insecure MD5 hash algorithm. Furthermore, the hashes are salted using the username instead of a random salt, causing hashes for users with the same username and password to collide which is problematic especially for popular users like the default `admin` user. This essentially means that for an attacker, it might be feasible to reconstruct a user's password given access to these hashes. Note that attackers needing access to the hashes means that they must gain access to the database in which these are stored first to be able to start cracking the passwords. The problem is addressed in Opencast 8.1 which now uses the modern and much stronger bcrypt password hashing algorithm for storing passwords. Note, that old hashes remain MD5 until the password is updated. For a list of users whose password hashes are stored using MD5, take a look at the `/user-utils/users/md5.json` REST endpoint.

(As written by CVE List.)

## Affected

- opencast opencast: < 8.1
- org.opencastproject:opencast-common-jpa-impl (Maven): before 7.6; from 8.0 before 8.1
- apereo opencast: before 8.1

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:N`

## References

- <https://github.com/opencast/opencast/security/advisories/GHSA-h362-m8f2-5x7c> (third-party-advisory, web)
- <https://github.com/opencast/opencast/commit/32bfbe5f78e214e2d589f92050228b91d704758e> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5229> (advisory)

## Sources

- CVE List: [CVE-2020-5229](https://www.cve.org/CVERecord?id=CVE-2020-5229), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-h362-m8f2-5x7c](https://github.com/advisories/GHSA-h362-m8f2-5x7c), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-5229](https://nvd.nist.gov/vuln/detail/CVE-2020-5229), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5229 · Whole record: https://cve.day/CVE-2020-5229.json · Rebuilt by cve.day 2026-11-25T22:57:50.726Z
