You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an operator I would like createBgpPeer and updateBgpPeer to check that the AS number is a valid 2-byte (1-65535) or 4-byte (65536-4294967295) AS number, and refuse the ones that can't be used by a peer:
23456, AS_TRANS (RFC 6793)
65535 and 4294967295, reserved (RFC 7300)
Private AS numbers would still be accepted.
There's no check today. createBgpPeer accepts 0, but FRR 8.4.4 rejects the neighbour line with "Unknown command", so the peer exists in CloudStack but isn't configured on the VR.
This is very minor. Only root admins can create or update BGP peers by default, so the chance of this being encountered is low.
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
createBgpPeer and updateBgpPeer accept any AS number, including values that cannot be used by a BGP peer (23456/AS_TRANS, 65535 and 4294967295). FRR then rejects the neighbour line, so the peer exists in CloudStack but is not configured on the VR. The reporter asks for range and reserved-value validation, and says private AS numbers should still be accepted.
📊 Assessment
Dimension
Value
Reasoning
Type
type:improvement
Input validation; the report notes low impact
Component
component:api, component:virtual-router
API validation and VR BGP configuration
Severity
n/a
Not a bug report; low exposure as only root admins can create peers by default
Check the RFC ranges in the report against the API parameter types before merging. A 4-byte AS of 4294967295 is the reserved value and must be rejected.
Add a test for both create and update, since the report covers both.
Activity
DaanHoogland commentedon Dec 3, 2026
@MitchDrage , will you implement this yourself? (and for what milestone?)
weizhouapache commentedon Dec 3, 2026
makes sense
MitchDrage commentedon Dec 3, 2026
Yes, I'll raise a PR for it tomorrow. I'm aiming for 24.0 if possible.
It's a small change and easy to test.
MitchDrage commentedon Dec 4, 2026
@DaanHoogland - PR Raised. Do you think this will make it in for 24.0?
github-actions commentedon Dec 4, 2026
Warning
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
Review the workflow run logs for details.
🎯 Triage report
createBgpPeerandupdateBgpPeeraccept any AS number, including values that cannot be used by a BGP peer (23456/AS_TRANS, 65535 and 4294967295). FRR then rejects the neighbour line, so the peer exists in CloudStack but is not configured on the VR. The reporter asks for range and reserved-value validation, and says private AS numbers should still be accepted.📊 Assessment
🔗 Similar issues
routed.network.vpc.enabled, return misleading 'not found' error #13745 (related) — BGP APIs hidden behind a flag with a misleading error💡 Notes and suggestions
Add this agentic workflow to your repo
To install this agentic workflow, run