| Reporter | Title | Published | Views | Family All 417 |
|---|---|---|---|---|
| Exploit for Race Condition in Canonical Ubuntu_Linux | 10 Nov 202110:33 | – | gitee | |
| Exploit for Race Condition in Canonical Ubuntu_Linux | 18 Jan 202222:26 | – | gitee | |
| Exploit for Race Condition in Canonical Ubuntu_Linux | 27 Jul 202504:02 | – | gitee | |
| Exploit for Race Condition in Canonical Ubuntu_Linux | 7 Apr 202009:32 | – | gitee | |
| Exploit for Race Condition in Canonical Ubuntu_Linux | 14 Mar 202021:53 | – | gitee | |
| Exploit for Race Condition in Canonical Ubuntu_Linux | 3 May 202018:44 | – | gitee | |
| Exploit for Race Condition in Canonical Ubuntu_Linux | 9 Oct 202112:39 | – | gitee | |
| Exploit for Race Condition in Canonical Ubuntu_Linux | 18 Dec 202010:54 | – | gitee | |
| Exploit for Path Traversal in Codiad | 24 Nov 202016:49 | – | gitee | |
| Exploit for Race Condition in Canonical Ubuntu_Linux | 2 Dec 202115:59 | – | gitee |
| Source | Link |
|---|---|
| nessus | www.nessus.org/u |
| fortiguard | www.fortiguard.com/advisory/FG-IR-16-063 |
| nessus | www.nessus.org/u |
| kb | www.kb.juniper.net/InfoCenter/index |
| kb | www.kb.juniper.net/InfoCenter/index |
| kb | www.kb.juniper.net/InfoCenter/index |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(287626);
script_version("1.3");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/02/10");
script_cve_id("CVE-2016-5195");
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/03/24");
script_name(english:"Unity Linux 20.1060e / 20.1070e Security Update: kernel (UTSA-2026-003167)");
script_set_attribute(attribute:"synopsis", value:
"The Unity Linux host is missing one or more security updates.");
script_set_attribute(attribute:"description", value:
"The Unity Linux 20 host has a package installed that is affected by a vulnerability as referenced in the
UTSA-2026-003167 advisory.
Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain
privileges by leveraging incorrect handling of a copy-on-write (COW) feature to write to a read-only
memory mapping, as exploited in the wild in October 2016, aka Dirty COW.
Tenable has extracted the preceding description block directly from the Unity Linux security advisory.
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
# https://src.uniontech.com/#/security_advisory_detail?utsa_id=UTSA-2026-003167
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?544c89fa");
script_set_attribute(attribute:"see_also", value:"http://fortiguard.com/advisory/FG-IR-16-063");
# http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bd05552c");
script_set_attribute(attribute:"see_also", value:"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10770");
script_set_attribute(attribute:"see_also", value:"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10774");
script_set_attribute(attribute:"see_also", value:"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10807");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00034.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a0aae471");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00035.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?50febdfb");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00036.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?77e04fbc");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00038.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ce9793b2");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00039.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?feadc27d");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00040.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?776f0595");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00045.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?5a6e0264");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00048.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?cf1a526a");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00049.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9c89817e");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00050.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9c0357e8");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00051.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a52081cf");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00052.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d6163e63");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00053.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?98ea2a72");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00054.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?42d50f27");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00055.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4da9436a");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00056.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4d24b544");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00057.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1b96b0b7");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00058.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e9e5e4bc");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00063.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?dd457a84");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00064.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?5aa0ec0e");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00065.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b4ab4f07");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00066.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3f2c5316");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00067.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?5496f2a6");
# http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00072.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f581eb69");
# http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00033.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4265e1a1");
# http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00100.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?01bd0a30");
# http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?8cf726f7");
# http://packetstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fc9432f9");
# http://packetstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?cfd1ede2");
# http://packetstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?21bd8f4b");
# http://packetstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?5045b17f");
# http://packetstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a539d2d1");
# http://packetstormsecurity.com/files/142151/Kernel-Live-Patch-Security-Notice-LSN-0021-1.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1ed00983");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2098.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2105.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2106.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2107.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2110.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2118.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2120.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2124.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2126.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2127.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2128.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2132.html");
script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2016-2133.html");
script_set_attribute(attribute:"see_also", value:"http://seclists.org/fulldisclosure/2024/Aug/35");
# http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20161026-linux
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f6ae7306");
script_set_attribute(attribute:"see_also", value:"http://www.debian.org/security/2016/dsa-3696");
# http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20161207-01-dirtycow-en
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?5f46d16d");
script_set_attribute(attribute:"see_also", value:"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.3");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2016/10/21/1");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2016/10/26/7");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2016/10/27/13");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2016/10/30/1");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2016/11/03/7");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2022/03/07/1");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2022/08/08/1");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2022/08/08/2");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2022/08/08/7");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2022/08/08/8");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2022/08/09/4");
script_set_attribute(attribute:"see_also", value:"http://www.openwall.com/lists/oss-security/2022/08/15/1");
# http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?50f36723");
script_set_attribute(attribute:"see_also", value:"http://www.securityfocus.com/archive/1/539611/100/0/threaded");
script_set_attribute(attribute:"see_also", value:"http://www.securityfocus.com/archive/1/540252/100/0/threaded");
script_set_attribute(attribute:"see_also", value:"http://www.securityfocus.com/archive/1/540344/100/0/threaded");
script_set_attribute(attribute:"see_also", value:"http://www.securityfocus.com/archive/1/540736/100/0/threaded");
# http://www.securityfocus.com/archive/1/archive/1/539611/100/0/threaded
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?226ed3cb");
# http://www.securityfocus.com/archive/1/archive/1/540252/100/0/threaded
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?85502940");
# http://www.securityfocus.com/archive/1/archive/1/540344/100/0/threaded
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?cddf6ab5");
# http://www.securityfocus.com/archive/1/archive/1/540736/100/0/threaded
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?55a59e35");
script_set_attribute(attribute:"see_also", value:"http://www.securityfocus.com/bid/93793");
script_set_attribute(attribute:"see_also", value:"http://www.securitytracker.com/id/1037078");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3104-1");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3104-2");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3105-1");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3105-2");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3106-1");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3106-2");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3106-3");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3106-4");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3107-1");
script_set_attribute(attribute:"see_also", value:"http://www.ubuntu.com/usn/USN-3107-2");
script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2017:0372");
script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2016-5195");
script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/vulnerabilities/2706661");
script_set_attribute(attribute:"see_also", value:"https://bto.bluecoat.com/security-advisory/sa134");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1384344");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1004418");
script_set_attribute(attribute:"see_also", value:"https://dirtycow.ninja");
script_set_attribute(attribute:"see_also", value:"https://github.com/dirtycow/dirtycow.github.io/wiki/PoCs");
# https://github.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetails
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4095d1ea");
# https://github.com/torvalds/linux/commit/19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?00bcfc2d");
# https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c05352241
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d32c65a6");
# https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03707en_us
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4bc94ebf");
# https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03722en_us
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fccde761");
# https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03742en_us
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?8aecdd58");
# https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03761en_us
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?165777f5");
# https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05341463
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ba4d49d2");
# https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6cf219f0");
# https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05352241
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bd6275df");
# https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2dc887f0");
script_set_attribute(attribute:"see_also", value:"https://kc.mcafee.com/corporate/index?page=content&id=SB10176");
script_set_attribute(attribute:"see_also", value:"https://kc.mcafee.com/corporate/index?page=content&id=SB10177");
script_set_attribute(attribute:"see_also", value:"https://kc.mcafee.com/corporate/index?page=content&id=SB10222");
# https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E7M62SRP6CZLJ4ZXCRZKV4WPLQBSR7DT/
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b26f0a5e");
# https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NWMDLBWMGZKFHMRJ7QUQVCERP5QHDB6W/
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7001b773");
# https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3APRVDVPDBXLH4DC5UKZVCR742MJIM3/
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9d6372d1");
# https://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-5195.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f3e19068");
script_set_attribute(attribute:"see_also", value:"https://security-tracker.debian.org/tracker/CVE-2016-5195");
script_set_attribute(attribute:"see_also", value:"https://security.netapp.com/advisory/ntap-20161025-0001/");
script_set_attribute(attribute:"see_also", value:"https://security.paloaltonetworks.com/CVE-2016-5195");
script_set_attribute(attribute:"see_also", value:"https://source.android.com/security/bulletin/2016-11-01.html");
script_set_attribute(attribute:"see_also", value:"https://source.android.com/security/bulletin/2016-12-01.html");
# https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20181107-vcsd
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d6e1b798");
# https://www.arista.com/en/support/advisories-notices/security-advisories/1753-security-advisory-0026
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a08fcb41");
# https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-5195
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1ce94db8");
script_set_attribute(attribute:"see_also", value:"https://www.exploit-db.com/exploits/40611/");
script_set_attribute(attribute:"see_also", value:"https://www.exploit-db.com/exploits/40616/");
script_set_attribute(attribute:"see_also", value:"https://www.exploit-db.com/exploits/40839/");
script_set_attribute(attribute:"see_also", value:"https://www.exploit-db.com/exploits/40847/");
script_set_attribute(attribute:"see_also", value:"https://www.kb.cert.org/vuls/id/243144");
script_set_attribute(attribute:"solution", value:
"Update the affected kernel package.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-5195");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"exploit_framework_core", value:"true");
script_set_attribute(attribute:"exploited_by_malware", value:"true");
script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
script_set_attribute(attribute:"canvas_package", value:"CANVAS");
script_set_attribute(attribute:"vuln_publication_date", value:"2016/10/19");
script_set_attribute(attribute:"patch_publication_date", value:"2026/01/15");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/01/15");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Unity Linux Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info2.nasl");
script_require_keys("Host/local_checks_enabled", "Host/UOS-Server/release", "Host/UOS-Server/rpm-list", "Host/cpu");
exit(0);
}
include('rpm2.inc');
if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_product = get_kb_item('installed_os/local/SSH/0/product');
if (isnull(os_product) || 'UOS Server' >!< os_product) audit(AUDIT_OS_NOT, 'UOS Server');
var os_version = get_kb_item('installed_os/local/SSH/0/version');
if (isnull(os_version)) audit(AUDIT_UNKNOWN_APP_VER, 'UOS Server');
if (! preg(pattern:"^20.1060e|20.1070e([^0-9]|$)", string:os_version)) audit(AUDIT_OS_NOT, 'UOS Server 20.1060e / 20.1070e', 'UOS Server ' + os_version);
if (!get_kb_item('Host/UOS-Server/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('aarch64' >!< cpu && 'amd64' >!< cpu && 'sw_64' >!< cpu && 'x86_64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'UOS Server', cpu);
var constraints = [
{
'release': '20',
'sp': '1060e',
'pkgs': [
{'reference':'kernel-5.10.0-46.38', 'sp':'1060e', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-5.10.0-46.38', 'sp':'1060e', 'cpu':'amd64', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-5.10.0-46.38', 'sp':'1060e', 'cpu':'sw_64', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-5.10.0-46.38', 'sp':'1060e', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE}
]
},
{
'release': '20',
'sp': '1070e',
'pkgs': [
{'reference':'kernel-5.10.0-79.5', 'sp':'1070e', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-5.10.0-79.5', 'sp':'1070e', 'cpu':'amd64', 'rpm_spec_vers_cmp':TRUE},
{'reference':'kernel-5.10.0-79.5', 'sp':'1070e', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE}
]
}
];
var os_release = get_one_kb_item('installed_os/local/SSH/0/release');
var os_sp = get_one_kb_item('Host/*/minor_release');
var flag = 0;
var reference;
var sp;
var _cpu;
var el_string;
var rpm_spec_vers_cmp;
var epoch;
var allowmaj;
var exists_check;
var cves;
foreach var constraint ( constraints ) {
# Check that the target release is equal to the affected release
if (!empty_or_null(constraint['release'])){
if (constraint['release'] != os_release) continue;
}
if (!empty_or_null(constraint['sp'])){
if (constraint['sp'] != os_sp) continue;
}
foreach var pkg ( constraint['pkgs'] ) {
reference = NULL;
sp = NULL;
_cpu = NULL;
el_string = NULL;
rpm_spec_vers_cmp = NULL;
epoch = NULL;
allowmaj = NULL;
exists_check = NULL;
cves = NULL;
if (!empty_or_null(pkg['reference'])) reference = pkg['reference'];
if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
if (!empty_or_null(pkg['cpu'])) _cpu = pkg['cpu'];
if (!empty_or_null(pkg['el_string'])) el_string = pkg['el_string'];
if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
if (!empty_or_null(pkg['epoch'])) epoch = pkg['epoch'];
if (!empty_or_null(pkg['allowmaj'])) allowmaj = pkg['allowmaj'];
if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
if (reference &&
## (no known rpm to check OR known rpm_exists)
(!exists_check || rpm_exists(rpm:exists_check)) &&
rpm_check(sp:sp, cpu:_cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:rpm_spec_vers_cmp, allowmaj:allowmaj, cves:cves)) flag++;
}
}
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_HOLE,
extra : rpm_report_get()
);
exit(0);
}
else
{
var tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'kernel');
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation