ManageIQ / ManageIQ/foreman_api_client

CVE-2026-33170 (Medium) detected in activesupport-8.0.3.gem

Open Beginner friendly
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Mend: dependency security vulnerability
Dominant language
Ruby
Stars
2
Forks
12
PR merge metrics
No merged PRs in 30d

Description

## CVE-2026-33170 - Medium Severity Vulnerability
Vulnerable Library - activesupport-8.0.3.gem

A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Rich support for multibyte strings, internationalization, time zones, and testing.


Library home page: https://rubygems.org/gems/activesupport-8.0.3.gem


Path to dependency file: /Gemfile.lock


Path to vulnerable library: /vendor/cache/activesupport-8.0.3.gem


Dependency Hierarchy:
- manageiq-style-1.5.8.gem (Root Library)
- rubocop-rails-2.29.1.gem
- :x: **activesupport-8.0.3.gem** (Vulnerable Library)

Found in base branch: master



Vulnerability Details



Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, "SafeBuffer#%" does not propagate the "@html_unsafe" flag to the newly created buffer. If a "SafeBuffer" is mutated in place (e.g. via "gsub!") and then formatted with "%" using untrusted arguments, the result incorrectly reports "html_safe? == true", bypassing ERB auto-escaping and possibly leading to XSS. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

Publish Date: 2026-03-23

URL: CVE-2026-33170



CVSS 3 Score Details (4.3)

Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: Low
- Availability Impact: None


For more information on CVSS3 Scores, click here.


Suggested Fix

Type: Upgrade version


Release Date: 2026-03-23


Fix Resolution: https://github.com/rails/rails.git - v8.0.4.1,https://github.com/rails/rails.git - v7.2.3.1,https://github.com/rails/rails.git - v8.1.2.1,https://github.com/rails/rails.git - v8.1.3,https://github.com/rails/rails.git - v8.0.5

***
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect /Gemfile.lock and /vendor/cache/activesupport-8.0.3.gem first, then update Active Support to one of the listed patched releases. Done means the lockfile and vendored dependency no longer use 8.0.3 and the CVE-2026-33170 finding is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.