summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-11-14 13:48:45 +0100
committerKhem Raj <raj.khem@gmail.com>2025-11-14 07:39:48 -0800
commit38ea8a4617ad395b2addd24bd1f6b57a8242fa0b (patch)
tree902893a01e885f07fc8a777bf69e84fdec997d7d
parentfe8d5e0cc0abbe19aa267ab7f9e78cbb5adc153b (diff)
downloadmeta-openembedded-38ea8a4617ad395b2addd24bd1f6b57a8242fa0b.tar.gz
rsyslog: set status for CVE-2015-3243
Details: https://nvd.nist.gov/vuln/detail/CVE-2015-3243 The issue is about file permissions: by default rsyslog creates world-readable files. In case a log message contains some sensitive information, then that's exposed to every user on the system. However the rsyslog.conf file that is shipped with the recipe solves it: it already sets non-world-readable default permissions on all files, so this vulnerability is fixed in the default OE recipe. See also this package in OpenSuse[1], where it is solved the same way. [1]: https://build.opensuse.org/requests/619439/changes (rsyslog.conf.in) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf1
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog_8.2506.0.bb1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf b/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf
index dbfefb7597..388c4e70bb 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf
@@ -13,6 +13,7 @@ $ModLoad imklog # kernel logging (formerly provided by rklogd)
13 13
14# 14#
15# Set the default permissions 15# Set the default permissions
16# Setting the $FileCreateMode not world readable fixes CVE-2015-3243
16# 17#
17$FileOwner root 18$FileOwner root
18$FileGroup adm 19$FileGroup adm
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2506.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2506.0.bb
index 4ba41678aa..bcac76a231 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2506.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2506.0.bb
@@ -38,6 +38,7 @@ UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/tags"
38UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 38UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
39 39
40CVE_PRODUCT = "rsyslog:rsyslog" 40CVE_PRODUCT = "rsyslog:rsyslog"
41CVE_STATUS[CVE-2015-3243] = "fix-file-included: The shipped default rsyslog.conf contains the fix"
41 42
42inherit autotools pkgconfig systemd update-rc.d ptest 43inherit autotools pkgconfig systemd update-rc.d ptest
43 44