Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

lextudio/pysnmp
main @ 13e7323
6
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
pysnmp/proto/secmod/rfc3414/service.py: most-fixed (2 issues). Treat as high-risk during review.
4 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: The incoming message processing path failed to properly validate the SNMP securityLevel against configured credentials, which could allow attackers to bypass transport-layer security requirements. Additionally, unauthenticated messages could pollute the peer timeline state.
Auth Bypass: MIB access control functions (acFun) and context were not properly propagated or enforced during read/write operations on SNMP variables, leading to privilege escalation and unauthorized variable modification.
Authentication Bypass: Weaknesses in the USM time-window verification allowed replay attacks if elapsed idle times were not factored into freshness checks.