Null Pointer Dereference in AddTime API Causes Authenticated Denial of Service
euvd · EUVD-2026-58139 · Published
No access to your tenant or devices. Every item links to its source. What this means
Null Pointer Dereference in AddTime API Causes Authenticated Denial of Service
Read the publisher's advisoryNull Pointer Dereference in AddTime API Causes Authenticated Denial of Service
Read the publisher's advisoryNull Pointer Dereference in AddTime API Causes Authenticated Denial of Service
Read the publisher's advisory### Summary The AddTime API handler continues execution after an error returned by `GetUserByName()`. When a repository administrator specifies a non-existent user name, an error response is generated but execution does not stop. Subsequent code dereferences a nil user pointer, resulting in a runtime panic. ### Details Affected endpoint: ```http POST /api/v1/repos/{owner}/{repo}/issues/{index}/times ``` Affected file: ```text routers/api/v1/repo/issue_tracked_time.go ``` Relevant code: ```go user, err = user_model.GetUserByName(ctx, form.User) if err != nil { ctx.APIErrorInternal(err) // missing return } ``` Execution continues to: ```go trackedTime, err := issues_model.AddTime( ctx, user, issue, form.Time, created, ) ``` When `GetUserByName()` fails, `user` is nil. The subsequent call dereferences the nil pointer and triggers a runtime panic. ### Proof of Concept Using a repository administrator account: ```http POST /api/v1/repos/owner/repo/issues/1/times Content-Type: application/json { "time": 3600, "user_name": "nonexistent_user_xyz" } ``` Result: ```text HTTP 500 runtime error: invalid memory address or nil pointer dereference ``` The stack trace indicates execution reaches the AddTime code path with a nil user object. ### Impact An authenticated repository administrator can repeatedly trigger server-side panics through the affected endpoint. Depending on deployment configuration and panic recovery behavior, this may result in request failures, stack trace disclosure, excessive log generation, or degraded service availability. ### Suggested Fix Add a return statement after the error response: ```go user, err = user_model.GetUserByName(ctx, form.User) if err != nil { ctx.APIErrorInternal(err) return } ```
Read the publisher's advisoryGitea: Null Pointer Dereference in AddTime API Causes Authenticated Denial of Service in gitea.dev
Read the publisher's advisoryCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
Compare earlier KEV listings and EPSS scores. Advisory wording and affected versions have a separate history.
A prediction change is reported when EPSS rises from below 10% to 10% or higher. Every daily score change from the last 30 days stays in this history. Before that, it keeps KEV changes and moves between EPSS bands (0.1%, 1%, 5%, 10%, 20%, 50% and 90%).
See how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
euvd · EUVD-2026-58139 · Published
nvd · CVE-2026-55984 · Published
osv · GHSA-m932-crvm-gcp5 · Published
osv · GO-2026-6064 · Published
cve-program · CVE-2026-55984 · Published