Security mailing lists by PureSourceCode

CVE-2024-21493

MEDIUM 5.3CVSS 3.1

Improper Validation of Array Index in github.com/greenpau/caddy-security

All versions of the package github.com/greenpau/caddy-security are vulnerable to Improper Validation of Array Index when parsing a Caddyfile. Multiple parsing functions in the affected library do not validate whether their input values are nil before attempting to access elements, which can lead to a panic (index out of range). Panics during the parsing of a configuration file may introduce ambiguity and vulnerabilities, hindering the correct interpretation and configuration of the web server.

Published
17 Feb 2024
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Analyzed
Weakness
CWE-129
Also known as
GHSA-8h95-jcp5-pjprGO-2024-2564
Sources
NVDJSONOSV GHSA-8h95-jcp5-pjprJSONOSV GO-2024-2564JSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD greenpau caddy-security
cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:*
all versions
OSV Go github.com/greenpau/caddy-security <= 1.1.23
OSV Go github.com/greenpau/caddy-security all versions

References

History

  • 25 Nov 2026 20:54 UTC · NVD: first stored (published 17 Feb 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Feb 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.