Skip to content
Heist/ feed
Back to feed
High

netbeans — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2020-17534

There exists a race condition between the deletion of the temporary file and the creation of the temporary directory in `webkit` subproject of HTML/Java API version 1.7. A similar vulnerability has recently been disclosed in other Java projects and the fix in HTML/Java API version 1.7.1 follows theirs: To avoid local privilege escalation version 1.7.1 creates the temporary directory atomically without dealing with the temporary file: https://github.com/apache/netbeans-html4j/commit/fa70e507e5555e1adb4f6518479fc408a7abd0e6

Products
netbeans
Affected versions
10.0-3ubuntu2~18.04.1, 10.0-3ubuntu3, 10.0-3~18.04.1ubuntu1, 12.1-3, 12.1-3build1, 8.0.2+dfsg1-4, 8.0.2+dfsg1-5, 8.1+dfsg1-1, 8.1+dfsg2-1, 8.1+dfsg2-3, 8.1+dfsg3-4
Fixed versions
Not specified
CVEs
CVE-2020-17534
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:51 UTC · Revision 1

Source evidence

UBUNTU-CVE-2020-17534

core-osv · Original source

Published 11 Jan 2021, 16:15 UTC

There exists a race condition between the deletion of the temporary file and the creation of the temporary directory in `webkit` subproject of HTML/Java API version 1.7. A similar vulnerability has recently been disclosed in other Java projects and the fix in HTML/Java API version 1.7.1 follows theirs: To avoid local privilege escalation version 1.7.1 creates the temporary directory atomically without dealing with the temporary file: https://github.com/apache/netbeans-html4j/commit/fa70e507e5555e1adb4f6518479fc408a7abd0e6

osv:UBUNTU-CVE-2020-17534

netbeans

Fixed versions: Not specified

netbeans

Fixed versions: Not specified

netbeans

Fixed versions: Not specified

netbeans

Fixed versions: Not specified

netbeans

Fixed versions: Not specified

netbeans

Fixed versions: Not specified

netbeans

Fixed versions: Not specified

netbeans

Fixed versions: Not specified

Complete source record
{
  "id": "cd07e4702bab292f37dd0e3dc386bc8a69d9c6c6def4a18fbf85935912689983",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-17534",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2020-17534",
    "summary": "There exists a race condition between the deletion of the temporary file and the creation of the temporary directory in `webkit` subproject of HTML/Java API version 1.7. A similar vulnerability has recently been disclosed in other Java projects and the fix in HTML/Java API version 1.7.1 follows theirs: To avoid local privilege escalation version 1.7.1 creates the temporary directory atomically without dealing with the temporary file: https://github.com/apache/netbeans-html4j/commit/fa70e507e5555e1adb4f6518479fc408a7abd0e6",
    "evidence": "osv:UBUNTU-CVE-2020-17534",
    "products": [
      {
        "name": {
          "value": "netbeans",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.0.2+dfsg1-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.0.2+dfsg1-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.1+dfsg1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.1+dfsg2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8.1+dfsg2-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "netbeans",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1+dfsg3-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "10.0-3~18.04.1ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "10.0-3ubuntu2~18.04.1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "netbeans",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "10.0-3ubuntu3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "netbeans",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "12.1-3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "netbeans",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "12.1-3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "netbeans",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "12.1-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "netbeans",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "12.1-3build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "netbeans",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "12.1-3",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "12.1-3build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2020-17534",
      "aliases": [
        "UBUNTU-CVE-2020-17534"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "netbeans",
            "purl": "pkg:deb/ubuntu/netbeans?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "8.0.2+dfsg1-4",
            "8.0.2+dfsg1-5",
            "8.1+dfsg1-1",
            "8.1+dfsg2-1",
            "8.1+dfsg2-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnb-absolutelayout-java",
                "binary_version": "8.1+dfsg2-3"
              },
              {
                "binary_name": "libnb-apisupport3-java",
                "binary_version": "8.1+dfsg2-3"
              },
              {
                "binary_name": "libnb-ide14-java",
                "binary_version": "8.1+dfsg2-3"
              },
              {
                "binary_name": "libnb-java5-java",
                "binary_version": "8.1+dfsg2-3"
              },
              {
                "binary_name": "netbeans",
                "binary_version": "8.1+dfsg2-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "netbeans",
            "purl": "pkg:deb/ubuntu/netbeans?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "8.1+dfsg3-4",
            "10.0-3~18.04.1ubuntu1",
            "10.0-3ubuntu2~18.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnb-absolutelayout-java",
                "binary_version": "10.0-3ubuntu2~18.04.1"
              },
              {
                "binary_name": "libnb-apisupport3-java",
                "binary_version": "10.0-3ubuntu2~18.04.1"
              },
              {
                "binary_name": "libnb-ide14-java",
                "binary_version": "10.0-3ubuntu2~18.04.1"
              },
              {
                "binary_name": "libnb-java5-java",
                "binary_version": "10.0-3ubuntu2~18.04.1"
              },
              {
                "binary_name": "netbeans",
                "binary_version": "10.0-3ubuntu2~18.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "netbeans",
            "purl": "pkg:deb/ubuntu/netbeans?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "10.0-3ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnb-absolutelayout-java",
                "binary_version": "10.0-3ubuntu3"
              },
              {
                "binary_name": "libnb-apisupport3-java",
                "binary_version": "10.0-3ubuntu3"
              },
              {
                "binary_name": "libnb-ide14-java",
                "binary_version": "10.0-3ubuntu3"
              },
              {
                "binary_name": "libnb-java5-java",
                "binary_version": "10.0-3ubuntu3"
              },
              {
                "binary_name": "netbeans",
                "binary_version": "10.0-3ubuntu3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "netbeans",
            "purl": "pkg:deb/ubuntu/netbeans?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "12.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnb-absolutelayout-java",
                "binary_version": "12.1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "netbeans",
            "purl": "pkg:deb/ubuntu/netbeans?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "12.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnb-absolutelayout-java",
                "binary_version": "12.1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "netbeans",
            "purl": "pkg:deb/ubuntu/netbeans?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "12.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnb-absolutelayout-java",
                "binary_version": "12.1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "netbeans",
            "purl": "pkg:deb/ubuntu/netbeans?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "12.1-3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnb-absolutelayout-java",
                "binary_version": "12.1-3build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "netbeans",
            "purl": "pkg:deb/ubuntu/netbeans?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "12.1-3",
            "12.1-3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnb-absolutelayout-java",
                "binary_version": "12.1-3build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:11.996459065Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-17534"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2020-17534",
        "https://lists.apache.org/thread.html/ra6119c0cdfccf051a846fa11b61364f5df9e7db93c310706a947f86a%40%3Cdev.netbeans.apache.org%3E",
        "https://www.cve.org/CVERecord?id=CVE-2020-17534"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-17534",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354942,
  "published_at": "2021-01-11T16:15:00+00:00"
}