public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Miroslav Lichvar <mlichvar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gpsd] rawhide: fix another command injection in gpsprof (CVE-2026-60122)
Date: Mon, 26 Oct 2026 11:08:05 GMT [thread overview]
Message-ID: <179301288550.1.17683620483780319197.rpms-gpsd-4f0dc2edb038@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gpsd
Branch : rawhide
Commit : 4f0dc2edb03884b70502ff530b817ef8f84fa4a9
Author : Miroslav Lichvar <mlichvar@redhat.com>
Date : 2026-10-26T10:54:14+01:00
Stats : +38/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gpsd/c/4f0dc2edb03884b70502ff530b817ef8f84fa4a9?branch=rawhide
Log:
fix another command injection in gpsprof (CVE-2026-60122)
---
diff --git a/gpsd-cve-2026-60122.patch b/gpsd-cve-2026-60122.patch
new file mode 100644
index 0000000..0974247
--- /dev/null
+++ b/gpsd-cve-2026-60122.patch
@@ -0,0 +1,36 @@
+commit 5a9c44a42136b9bb98d460a8a716e9fd344a8d93
+Author: Gary E. Miller <gem@rellim.com>
+Date: Mon Jul 20 20:12:16 2026 -0700
+
+ clients/gpsprof.py.in: ensure sats.used is boolean. Issue 406
+
+ Prevfent command injection by sates.used. Force to boolean.
+
+diff --git a/clients/gpsprof.py.in b/clients/gpsprof.py.in
+index e91367ee3..07123d417 100644
+--- a/clients/gpsprof.py.in
++++ b/clients/gpsprof.py.in
+@@ -334,8 +334,11 @@ class spaceplot(plotter):
+ # get sat used count
+ sats_used = 0
+ for sat in self.session.satellites:
+- if sat.used:
++ if sat.used is True:
+ sats_used += 1
++ else:
++ # ensure it is boolean.
++ sat.used = False
+
+ if 'altHAE' not in self.session.data:
+ self.session.data['altHAE'] = gps.NaN
+@@ -783,6 +786,10 @@ class polarplot(plotter):
+ used += 1
+ if 'polarunused' == self.name:
+ continue
++ else:
++ # ensure it is boolean.
++ sat['used'] = False;
++
+ if (('polarused' == self.name and
+ sat['used'] is False)):
+ continue
diff --git a/gpsd.spec b/gpsd.spec
index 20a32ff..372c092 100644
--- a/gpsd.spec
+++ b/gpsd.spec
@@ -36,6 +36,8 @@ Source11: gpsd.sysconfig
Patch1: gpsd-apistatus.patch
# Fix command injection in gpsprof
Patch2: gpsd-cve-2026-58459.patch
+# Fix another command injection in gpsprof
+Patch3: gpsd-cve-2026-60122.patch
BuildRequires: gcc
BuildRequires: dbus-devel
reply other threads:[~2026-10-26 11:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179301288550.1.17683620483780319197.rpms-gpsd-4f0dc2edb038@fedoraproject.org \
--to=mlichvar@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox