GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-hxhc-wmg8-xrqfhigh

namshi/jose insecure JSON Web Signatures (JWS)

No CVE assignedCheck your stack

The advisory, in context

namshi/jose allows the acceptance of unsecure JSON Web Signatures (JWS) by default. The vulnerability arises from the $allowUnsecure flag, which, when set to true during the loading of JWSes, permits tokens signed with 'none' algorithms to be processed. This behavior poses a significant security risk as it could allow an attacker to impersonate users by crafting a valid jwt token.

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

namshi/jose Packagist
Ecosystem versions

Earlier releases before 1.1.2

Fixed in 1.1.2

7 explicitly affected versions

1.0.0, 1.0.0-beta1, 1.0.0-rc1, 1.0.1, 1.0.2, 1.1.0, 1.1.1

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "fixed": "1.1.2"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "1.0.0",
    "1.0.0-beta1",
    "1.0.0-rc1",
    "1.0.1",
    "1.0.2",
    "1.1.0",
    "1.1.1"
  ]
}
namshi/jose Packagist
Ecosystem versions

From 1.2.0 before 1.2.2

Fixed in 1.2.2

2 explicitly affected versions

1.2.0, 1.2.1

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "1.2.0"
        },
        {
          "fixed": "1.2.2"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "1.2.0",
    "1.2.1"
  ]
}
namshi/jose Packagist
Ecosystem versions

From 2.0.0 before 2.0.3

Fixed in 2.0.3

3 explicitly affected versions

2.0.0, 2.0.1, 2.0.2

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "2.0.0"
        },
        {
          "fixed": "2.0.3"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "2.0.0",
    "2.0.1",
    "2.0.2"
  ]
}
namshi/jose Packagist
Ecosystem versions

From 2.1.0 before 2.1.2

Fixed in 2.1.2

2 explicitly affected versions

2.1.0, 2.1.1

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "2.1.0"
        },
        {
          "fixed": "2.1.2"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "2.1.0",
    "2.1.1"
  ]
}

References