Skip to content

Commit 6037dda

Browse files
committed
Update NEWS
1 parent ccdf7bf commit 6037dda

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

NEWS.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Enhancements:
2828
* All plugins now expose min/max/mean statistics since startup #3462
2929
* Improved CPU plugin display on macOS (graceful handling of unavailable fields) #3464
3030

31+
Security patches:
32+
33+
* Unauthenticated Configuration Secrets Exposure
34+
* SQL Injection via Process Names in TimescaleDB Export
35+
3136
Code quality:
3237

3338
* JSON serializer hardened with comprehensive type normalization #3454
@@ -38,7 +43,7 @@ Code quality:
3843
Thanks to all the contributors for this version: @YamiYukiSenpai, @amzon-ex,
3944
@axodentally, @fpusan, @janusn, @kleinmatic, @lcheylus, @lubomir-moric, @mark-rahal,
4045
@mikemhenry, @Ambika-Patidar, @AbdelhamidKhald, @Julietmgbole,
41-
@sdoshi2061, @cjlindem
46+
@sdoshi2061, @cjlindem, @theamanrawat
4247

4348
===============
4449
Version 4.5.0.5

glances/exports/glances_timescaledb/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,7 @@ def export(self, plugin, creation_list, segmented_by, values_list):
180180
# Build CREATE TABLE using sql.Identifier for column names (prevents injection)
181181
# Each item in creation_list is "colname TYPE [NULL|NOT NULL]"
182182
fields = sql.SQL(', ').join(
183-
sql.SQL("{} {}").format(
184-
sql.Identifier(item.split(' ')[0]),
185-
sql.SQL(' '.join(item.split(' ')[1:]))
186-
)
183+
sql.SQL("{} {}").format(sql.Identifier(item.split(' ')[0]), sql.SQL(' '.join(item.split(' ')[1:])))
187184
for item in creation_list
188185
)
189186
create_query = sql.SQL(

0 commit comments

Comments
 (0)