A directory traversal vulnerability was discovered in Pagure server. If a malicious user submits a specially cratfted git repository they could discover secrets on the server.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://access.redhat.com/security/cve/CVE-2024-4982 | vdb entry vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2279411 | permissions required |
https://bugzilla.redhat.com/show_bug.cgi?id=2280726 | issue tracking exploit vendor advisory |
https://pagure.io/pagure/c/c43844d23c919133fc983fe8c0f1dfb3b86e67d0 | patch |