GHSA-gvj8-4cj4-h776: Ibexa/core Object State Limitation Has No Vulnerability

CRITICAL
CWE-281
Published
Advisory Summary

GHSA-gvj8-4cj4-h776 is a CRITICAL object state limitation has no vulnerability (CWE-281: Improper Preservation of Permissions) affecting Ibexa/core libraries in the Packagist ecosystem. The issue involves object state limitation has no effect. Remediation is available by upgrading affected packages to version 4.0.5, 4.1.2.

GHSA-gvj8-4cj4-h776 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-gvj8-4cj4-h776
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-281: Improper Preservation of Permissions
Affected Product Ibexa/core
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-gvj8-4cj4-h776

To remediate this vulnerability, upgrade all affected Ibexa/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ibexa/core fixed: 4.0.5
Upgrade ibexa/core to 4.0.5
ibexa/core fixed: 4.1.2
Upgrade ibexa/core to 4.1.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for ibexa/core

How to Check if You Are Affected

To determine whether your application is affected by GHSA-gvj8-4cj4-h776, inspect your project dependencies for Ibexa/core:

inspect dependencies for ibexa/core

Analyze the terminal output to locate any version of Ibexa/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-281: Improper Preservation of Permissions, where the product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended. In Ibexa/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Object state limitation is a policy you can use in your roles to limit access to content based on specific object state values. Due to a flawed earlier update, these limitations were ineffective in releases made since February 16th 2022. They would grant access to the given content regardless of the object state. Depending on how your frontent is designed, knowing the URL to the content may or may not be required to access it. If you are using object state limitations in your roles, this issue is critical. Please apply the fix as soon as possible.

GHSA-gvj8-4cj4-h776 Affected Ibexa/core Versions

2 component(s)
Fixed Versions:
4.0.54.1.2
Product / Package Ecosystem Affected Versions Fixed Version
ibexa/core
Packagist
≥ 4.0.0
< 4.0.5
4.0.5
ibexa/core
Packagist
≥ 4.1.0
< 4.1.2
4.1.2

References

Frequently Asked Questions

What is GHSA-gvj8-4cj4-h776?
GHSA-gvj8-4cj4-h776 is a security vulnerability in Ibexa/core involving Object state limitation has no effect under CWE-281: Improper Preservation of Permissions.
Which Ibexa/core versions are affected?
Affected versions include releases prior to 4.0.5, 4.1.2 across affected packages: ibexa/core.
What version fixes GHSA-gvj8-4cj4-h776?
Upgrading to 4.0.5, 4.1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ibexa/core affected?
Yes, ibexa/core is affected in releases prior to 4.0.5, 4.1.2. Upgrade your dependency to 4.0.5, 4.1.2 or later.
What CWE is associated with GHSA-gvj8-4cj4-h776?
GHSA-gvj8-4cj4-h776 is classified under CWE-281: Improper Preservation of Permissions (The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.).
How can I check Packagist dependencies for GHSA-gvj8-4cj4-h776?
Run the dependency tree command: 'inspect dependencies for ibexa/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gvj8-4cj4-h776",
  "modified" : "2022-04-29T15:40:48Z",
  "published" : "2022-04-29T15:40:48Z",
  "aliases" : [ ],
  "summary" : "Object state limitation has no effect",
  "details" : "Object state limitation is a policy you can use in your roles to limit access to content based on specific object state values. Due to a flawed earlier update, these limitations were ineffective in releases made since February 16th 2022. They would grant access to the given content regardless of the object state. Depending on how your frontent is designed, knowing the URL to the content may or may not be required to access it. If you are using object state limitations in your roles, this issue is critical. Please apply the fix as soon as possible.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ibexa/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ibexa/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1.0"
      }, {
        "fixed" : "4.1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ibexa/core/security/advisories/GHSA-gvj8-4cj4-h776"
  }, {
    "type" : "WEB",
    "url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2022-004-ineffective-object-state-limitation-and-unauthenticated-fastly-purge"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ibexa/core"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-281" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-04-29T15:40:48Z",
    "nvd_published_at" : null
  }
}