Skip to content

APPSINTG-391: fix CVE-2026-59890 — upgrade setuptools to >=83.0.0 - #100

Merged
piyushgupta-sumo merged 2 commits into
mainfrom
fix/APPSINTG-391-cve-fix
Sep 2, 2026
Merged

APPSINTG-391: fix CVE-2026-59890 — upgrade setuptools to >=83.0.0#100
piyushgupta-sumo merged 2 commits into
mainfrom
fix/APPSINTG-391-cve-fix

Conversation

@piyushgupta-sumo

@piyushgupta-sumo piyushgupta-sumo commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgraded setuptools from 82.0.1 to 84.0.0 (constraint >=83.0.0) to fix CVE-2026-59890 / GHSA-h35f-9h28-mq5c — MANIFEST.in exclusion bypass via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+
  • Bumped version to 0.2.1 and added CHANGELOG entry
  • Removed -n auto from pytest.ini to fix parallel test failures (the integration tests are ordered and share state across test methods)

Test plan

  • All 4 integration tests pass (test_01_get_api_call, test_02_post_api_call, test_03_update_api_call, test_04_delete_api_call)
  • Dependabot alert Validate for trailing slash #40 addressed

piyushgupta-sumo and others added 2 commits September 2, 2026 08:19
Bumps setuptools from 82.0.1 to 84.0.0 to fix MANIFEST.in exclusion
bypass via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+.
Versions < 83.0.0 could silently include files the maintainer intended to
exclude from a published sdist.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The integration tests are ordered and stateful (test_02 creates a
collector whose ID is used by test_03 and test_04), so running them
in parallel workers via pytest-xdist breaks state sharing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The dependency minimum/version updates and accompanying release metadata changes are consistent and align with the stated security remediation and test stability goals.

Pull request overview

This PR updates the project’s build tooling and release metadata to remediate CVE-2026-59890 (GHSA-h35f-9h28-mq5c) by requiring a patched setuptools version, and adjusts test execution settings to avoid flaky parallel runs.

Changes:

  • Raised setuptools minimum version to >=83.0.0 (and updated the lockfile to 84.0.0) to address the CVE.
  • Bumped the project version to 0.2.1 and added a corresponding changelog entry.
  • Removed -n auto from pytest default options to run tests serially.
File summaries
File Description
VERSION Bumps the package version to 0.2.1 for the security release.
pytest.ini Removes parallel test execution flag to avoid ordering/state-related failures.
pyproject.toml Updates build-system setuptools requirement to >=83.0.0.
Pipfile Raises dev setuptools constraint to >=83.0.0.
Pipfile.lock Updates locked setuptools to 84.0.0 with updated hashes/markers.
CHANGELOG.md Adds 0.2.1 security entry documenting the setuptools upgrade and CVE.
Review details
  • Files reviewed: 5/6 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@piyushgupta-sumo
piyushgupta-sumo merged commit 878226b into main Sep 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants