Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mojic
  4. ›
  5. GHSA-wqq3-wfmp-v85g

GHSA-wqq3-wfmp-v85g: Mojic: Observable Timing Discrepancy in HMAC Verification

April 16, 2026

The CipherEngine in Mojic v2.1.3 uses a standard equality operator (!==) to verify the HMAC-SHA256 integrity seal during the decryption phase. This creates an Observable Timing Discrepancy (CWE-208), allowing a potential attacker to bypass the file integrity check via a timing attack.

References

  • github.com/advisories/GHSA-wqq3-wfmp-v85g
  • github.com/notamitgamer/mojic
  • github.com/notamitgamer/mojic/security/advisories/GHSA-wqq3-wfmp-v85g

Code Behaviors & Features

Detect and mitigate GHSA-wqq3-wfmp-v85g with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.4

Fixed versions

  • 2.1.4

Solution

Upgrade to version 2.1.4 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy

Source file

npm/mojic/GHSA-wqq3-wfmp-v85g.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:00 +0000.