CVE-2008-1335
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe ipsec4_get_ulp function in the kernel in NetBSD 2.0 through 3.1 and NetBSD-current before 20071028, when the fast_ipsec subsystem is enabled, allows remote attackers to bypass the IPsec policy by sending packets from a source machine with a different endianness than the destination machine, a different vulnerability than CVE-2006-0905.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThe ipsec4_get_ulp function in the NetBSD kernel (versions 2.0-3.1 and NetBSD-current before 20071028) contains a flaw in the fast_ipsec subsystem that allows remote attackers to bypass IPsec policy enforcement by exploiting endianness differences between source and destination machines.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 2.0= 2.0.1= 2.0.2= 2.0.3= 2.0.4= 2.1= 2.1.1= 3.0= 3.0.1= 3.0.2= 3.1<= 20071027CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- M
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:M/Au:N/C:C/I:C/A:C
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify NetBSD versionRun 'uname -a' or check /etc/release to see the installed NetBSD version number (e.g., 2.0, 2.1, 3.0, 3.1)Affected if The version is 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1, 2.1.1, 3.0, 3.0.1, 3.0.2, or 3.1, or it is NetBSD-current dated 20071027 or earlier
-
Determine if fast_ipsec is in useCheck kernel configuration files or running kernel for fast_ipsec module: look for 'fast_ipsec' in kernel config, check 'modstat' output for loaded IPsec modules, or inspect kernel boot messages for fast_ipsec initializationAffected if The fast_ipsec subsystem (fast_ipsec) is compiled into or loaded by the running kernel
-
Verify IPsec policy enforcement is activeExamine IPsec policy configuration using 'setkey -DP' or check /etc/ipsec.conf for defined security policiesAffected if IPsec policies are configured and the system is relying on them for network access control
You are affected if you run NetBSD 2.0-3.1 or NetBSD-current up to 20071027 with the fast_ipsec subsystem enabled and depend on IPsec policy enforcement for access control.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedDisable the fast_ipsec subsystem if possible, or upgrade to NetBSD 3.1.1 or later/NetBSD-current after 20071028 which contains the patch. Alternatively, ensure network architecture prevents untrusted external machines with different endianness from reaching the IPsec-protected network.
NetBSD 3.1 or later, or NetBSD-current dated after 20071028
- 1. Identify the current NetBSD version by running 'uname -a' or 'sysctl kern.version'
- 2. Back up all critical data and configuration files before upgrading
- 3. Obtain the fixed NetBSD release (3.1 or later) from the official NetBSD releases: https://cdn.netbsd.org/pub/NetBSD/NetBSD-release-3_1/ or https://cdn.netbsd.org/pub/NetBSD/NetBSD-current/
- 4. Follow the NetBSD upgrade guide at https://www.netbsd.org/docs/upgrading.html to perform a system upgrade
- 5. After upgrading, verify the kernel version includes the fix by checking 'sysctl kern.version' for dates after 20071028
- 6. If using fast_ipsec, verify IPsec policies are working correctly with 'ipsecctl -s all'
- 7. Test that IPsec policy enforcement is functioning as expected
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2008-1335 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2008-1335 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data