Show pagesourceOld revisionsBacklinksBack to top × Table of Contents Security Vulnerability reporting Security advisories OpenWrt Security Advisories Support status Identifying problems uscan Coverity Scan Reproducible builds Deliver to users Hardening build options Security See Security old for the old page. This page lists the processes, tools and mechanisms OpenWrt uses to the security of OpenWrt. This covers the OpenWrt distribution with the official package feeds hosted at https://github.com/openwrt/ and also the OpenWrt specific tools hosted at https://git.openwrt.org/ like procd, ubus and libubox Vulnerability reporting Security bugs should be reported in confidentiality to contact@openwrt.org, see Reporting security bugs for details. Security advisories OpenWrt Security Advisories Security Advisory 2022-10-17-1 - Multiple issues in mac80211 and cfg80211 (CVE-2022-41674, CVE-2022-42719, CVE-2022-42720, CVE-2022-42721 and CVE-2022-42722) Security Advisory 2022-10-04-1 - wolfSSL buffer overflow during a TLS 1.3 handshake (CVE-2022-39173) Security Advisory 2021-08-01-3 - luci-app-ddns: Multiple authenticated RCEs (CVE-2021-28961) Security Advisory 2021-08-01-2 - Stored XSS in hostname UCI variable (CVE-2021-33425) Security Advisory 2021-08-01-1 - XSS via missing input validation of host names displayed (CVE-2021-32019) Security Advisory 2021-02-02-2 - wolfSSL heap buffer overflow in RsaPad_PSS (CVE-2020-36177) Security Advisory 2021-02-02-1 - netifd and odhcp6c routing loop on IPv6 point to point links (CVE-2021-22161) Security Advisory 2021-01-19-1 - dnsmasq multiple vulnerabilities (CVE-2020-25681, CVE-2020-25682, CVE-2020-25683, CVE-2020-25684, CVE-2020-25685, CVE-2020-25686, CVE-2020-25687) Security Advisory 2021-01-17-1 - OpenWrt forum break-in on 16-Jan-2021 Security Advisory 2020-12-09-2 - libuci import heap use after free (CVE-2020-28951) Security Advisory 2020-12-09-1 - Linux kernel - ICMP rate limiting can be used to facilitate DNS poisoning attack (CVE-2020-25705) Security Advisory 2020-05-06-2 - relayd out-of-bounds reads of heap data and possible buffer overflow (CVE-2020-11752) Security Advisory 2020-05-06-1 - umdns out-of-bounds reads of heap data and possible buffer overflow (CVE-2020-11750) Security Advisory 2020-02-21-1 - ppp buffer overflow vulnerability (CVE-2020-8597) Security Advisory 2020-01-31-2 - libubox tagged binary data JSON serialization vulnerability (CVE-2020-7248) Security Advisory 2020-01-31-1 - Opkg susceptible to MITM (CVE-2020-7982) Security Advisory 2020-01-13-1 - uhttpd invalid data access via HTTP POST request (CVE-2019-19945) Security Advisory 2019-11-05-3 - ustream-ssl information disclosure (CVE-2019-5101, CVE-2019-5102) Security Advisory 2019-11-05-2 - LuCI CSRF vulnerability (CVE-2019-17367) Security Advisory 2019-11-05-1 - LuCI stored XSS This only lists security advisories for components maintained directly by the OpenWrt team. This does not list all fixed security problems in third party components used by OpenWrt which can also affect the security of OpenWrt. We do not list known security problems in the Linux kernel, openssl and other third party components even when they affect use cases relevant for OpenWrt. The OpenWrt team monitors the upstream projects and backports security fixes for components used in the OpenWrt core repository to still supported OpenWrt versions. For example 159 CVEs were assigned to the Linux kernel in 2021 alone, OpenWrt regularly updates the minor Linux kernel version to get the recent fixes. Support status This lists the currently support or not supported OpenWrt versions. Version Current status Projected EoL 22.03 Fully supported - 21.02 End of life EoL (May 2023) 19.07 End of life EoL (April 2022) 18.06 End of life EoL 17.01 End of life EoL 15.05 End of life EoL The projected EoL can be extended later, depending on the future situation, like the release date of the next release. The Version references the most recent stable version from this release branch. Fully supported means that the OpenWrt team provides updates for the core packages fixing security and other problems we are aware of. Security maintenance means that the OpenWrt team fixes only security problems in this release but no bugs any more. End of life means that we will *not* provide any updates also for severe security problem. Please update to more recent versions. A OpenWrt major version will get into fully supported status after it was initially released. When the next OpenWrt major version is released the old version will move into security maintenance mode. A OpenWrt major version will move into end of Life 1 year after the initial release or 6 months after the release of the next major versions. The later date will be used. We plan to do a final minor release at the end of the support cycle. This only covers the core OpenWrt packages and not the external package feeds hosted on github. Some feed package maintainer do not take care of all OpenWrt versions where the the core components are still supported. For the best security support we suggest everyone to upgrade to the most recent stable version. Identifying problems The OpenWrt project uses multiple tools to identify potential security problems. The information are normally available for everyone and we appreciate fixes for problems reported by these tools form everyone. uscan The uscan report shows the version number of all packages from the base and the package repository and compares it against the recent upstream released versions. In addition the tool which generates this page also checks for existing CVEs assigned to the packages based on the Common Platform Enumeration (CPE) which is listed in the PKG_CPE_ID variable of many packages. That page is updated weekly for master and the active release branches. Coverity Scan OpenWrt uses the commercial Coverity Scan tool which is available for free to open source projects to do static code analyses on the OpenWrt components. This scans one OpenWrt build per week and reports the problems found in the components developed in the OpenWrt project like procd and ubus, but not on (patched) third party components. Reproducible builds The reproducible builds project checks that OpenWrt master is still reproducible. This proves that the produced releases really match the delivered source code and no backdoors were introduced in the build process. Deliver to users OpenWrt operates multiple build bot instances which are building snapshots of the master and the supported release branches. When a change to a package is committed to the OpenWrt base repository of package feed, the build bots are automatically detecting this change and will rebuild this package. The newly built package can then be installed with opkg or be integrated with the image builder by users of OpenWrt. This allows us to ship updates in about 2 days to the end users. The kernel is normally located in its own partition and upgrades are not so easily possible. Therefore this mechanism currently does not work for the kernel itself and kernel modules and a new minor release is needed to ship fixes to end users. Hardening build options OpenWrt activates some build hardening options in the build configuration at compile time for all package builds. Note that individual packages and/or targets may ignore or otherwise not respect these settings. .config line Enabled by default Notes CONFIG_PKG_CHECK_FORMAT_SECURITY=y Yes -Wformat -Werror=format-security CONFIG_PKG_CC_STACKPROTECTOR_REGULAR=y Yes -fstack-protector CONFIG_PKG_CC_STACKPROTECTOR_STRONG=y No -fstack-protector-strong CONFIG_KERNEL_CC_STACKPROTECTOR_REGULAR=y Yes Kernel config CONFIG_STACKPROTECTOR CONFIG_KERNEL_CC_STACKPROTECTOR_STRONG=y No Kernel config CONFIG_STACKPROTECTOR_STRONG CONFIG_PKG_FORTIFY_SOURCE_1=y Yes -D_FORTIFY_SOURCE=1 (Using fortify-headers for musl libc) CONFIG_PKG_FORTIFY_SOURCE_2=y No -D_FORTIFY_SOURCE=2 (Using fortify-headers for musl libc) CONFIG_PKG_RELRO_FULL=y Yes -Wl,-z,now -Wl,-z,relro CONFIG_PKG_ASLR_PIE_REGULAR=y Yes -fPIC CFLAGS and -specs=hardened-build-ld LDFLAGS PIE is activated for some binaries, mostly network exposed applications CONFIG_PKG_ASLR_PIE_ALL=y No PIE is activated for all applications CONFIG_KERNEL_SECCOMP Yes Kernel config CONFIG_SECCOMP CONFIG_SELINUX No Kernel config SECURITY_SELINUX This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.OKMore information about cookies Last modified: 2023/05/02 00:58by hnyman