Description
free5GC PCF through 1.4.6 contains a resource leak in postAppSessCtxProcedure that leaves PCC rules and QoS data in the SM policy decision after rejected Npcf_PolicyAuthorization create requests. Authenticated AFs knowing an active PDU session's UE address can send repeated failing requests with distinct AF application identifiers to grow PCF memory and pollute policy sent to the SMF.
Affected products and versions
free5gc pcf≤ 1.4.6
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- Low impact
- Availability
- Low impact
Weakness type (CWE)
- CWE-459 Incomplete Cleanup
References
- github.com/free5gc/free5gc/issues/1181
- github.com/free5gc/free5gc/issues/1184
- github.com/free5gc/pcf/commit/52c33ddff8e9a946c03b27c5d9b7a31c03030ca6 patch
- github.com/free5gc/pcf/blob/v1.4.6/internal/sbi/processor/policyauthorization.go#L163-L385
- www.vulncheck.com/advisories/free5gc-pcf-through-1.4.6-orphaned-pcc-rules-via-rejected-app
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.