JunosOperating system · Juniper

CVE-2013-7313

MEDIUM · 5.4 CVSS v2.0 Published 2014-01-23
Fix available
A fix is available. Upgrade to after 6.3.0 or later.
See remediation →
59/100
Remediation priority · Elevated
No privileges Zero-click

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 · unedited
The OSPF implementation in Juniper Junos through 13.x, JunosE, and ScreenOS through 6.3.x does not consider the possibility of duplicate Link State ID values in Link State Advertisement (LSA) packets before performing operations on the LSA database, which allows remote attackers to cause a denial of service (routing disruption) or obtain sensitive packet information via a crafted LSA packet, a related issue to CVE-2013-0149.

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 · high confidence

The OSPF implementation in Juniper Junos and ScreenOS fails to validate for duplicate Link State ID values in incoming Link State Advertisement (LSA) packets before performing database operations. This allows attackers to send crafted LSA packets with duplicate LSIDs to either disrupt routing by corrupting the OSPF database or potentially extract sensitive routing information.

MitigationApply vendor-provided patches from Juniper for affected Junos and ScreenOS versions. As interim measures, enable OSPF MD5 authentication to prevent injection of malicious LSAs and implement ingress filtering at network boundaries to block suspicious OSPF traffic.

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
JunosOperating system
Affected:= 4.0= 4.1= 4.2= 4.3= 4.4= 5.0= 5.0r3= 5.0r4= 5.1= 5.2= 5.3= 5.4
JunoseOperating system
Affected:all versions
ScreenosOperating system
Affected:<= 6.3.0= 5.4.0= 6.0.0= 6.1.0= 6.2.0

CVSS 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
Adjacent
Complexity
M
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:A/AC:M/Au:N/C:P/I:P/A:P

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify the Juniper product and version
    On Junos, run 'show version' or check /var/db/veriexec. On ScreenOS, run 'get system' or 'get version' to obtain the exact firmware version.
    Affected if The version matches Junos 4.0-5.4 (any of the listed versions), any Junose version, or ScreenOS 6.3.0 and below (specifically 5.4.0, 6.0.0, 6.1.0, 6.2.0, or prior).
  2. Verify OSPF protocol is enabled
    On Junos, run 'show protocols ospf' or check the configuration with 'show configuration protocols ospf'. On ScreenOS, run 'get protocol' or 'get interface' to list active OSPF interfaces.
    Affected if OSPF is actively running or configured on the device. The vulnerability only applies when OSPF is enabled.
  3. Confirm the OSPF instance is processing incoming LSA packets
    Check OSPF neighbor state with 'show ospf neighbor' (Junos) or 'get ospf neighbor' (ScreenOS). An active neighbor indicates the device is receiving and processing OSPF LSAs from other routers.
    Affected if There are active OSPF neighbors and the device is participating in OSPF database exchanges. The device must be receiving LSAs for the duplicate LSID attack to be possible.

You are affected if your Juniper device runs Junos 4.0-5.4, any Junose version, or ScreenOS 6.3.0 or below, and OSPF is actively processing neighbor relationships and receiving LSAs from other routers.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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.

From vendor data
Upgrade available Upgrade to a release after 6.3.0
Interim mitigation

Apply vendor-provided patches from Juniper for affected Junos and ScreenOS versions. As interim measures, enable OSPF MD5 authentication to prevent injection of malicious LSAs and implement ingress filtering at network boundaries to block suspicious OSPF traffic.

Fix this in Junos Scoped from the published advisory
  • Consultation4.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA1.0 h
10.0 hours of engineering $1,790
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,864.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2013-7313 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2013-7313 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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