CVE-2026-44322: Free5gc Nef Unset Problemdetails Cause

An error handler extracts the uninitialized `Cause` field from a `ProblemDetails` struct while `Detail` was explicitly provided instead. This outputs an unset structure field, potentially disrupting downstream error handling. Access the initialized `Detail` field, or explicitly initialize `Cause`.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0go
greprules fetch cve-2026-44322-free5gc-nef-unset-problemdetails-cause --engine opengrep

Description

An error handler extracts the uninitialized `Cause` field from a `ProblemDetails` struct while `Detail` was explicitly provided instead. This outputs an unset structure field, potentially disrupting downstream error handling. Access the initialized `Detail` field, or explicitly initialize `Cause`.

Detection target

Not provided

Recommended fix

Not provided

False-positive notes

Not provided

Community feedback

Sign in to report false positives, mark this rule useful, or suggest metadata improvements.