CVE-2022-35921: Fof/byobu Byobu User Preference To Prevent Vulnerability

LOW
Advisory Identifier: GHSA-6gjm-6wj6-4px5
CVSS 3.5
CWE-269 CWE-863
Published
Advisory Summary

CVE-2022-35921 is a LOW (CVSS 3.5) byobu user preference to prevent vulnerability (CWE-269: Improper Privilege Management) affecting Fof/byobu libraries in the Packagist ecosystem. The issue involves byobu user preference to prevent private discussions being started are not respected. Remediation is available by upgrading affected packages to version 1.1.7.

CVE-2022-35921 at a Glance

CVE Identifier CVE-2022-35921
GHSA Identifier GHSA-6gjm-6wj6-4px5
Severity LOW
CVSS v3.1 Base Score 3.5
CWE Classification CWE-269: Improper Privilege Management
Affected Product Fof/byobu
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 3.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2022-35921

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

fof/byobu fixed: 1.1.7
Upgrade fof/byobu to 1.1.7
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 fof/byobu

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-35921, inspect your project dependencies for Fof/byobu:

inspect dependencies for fof/byobu

Analyze the terminal output to locate any version of Fof/byobu in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.7), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Fof/byobu, 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

### Impact Users electing to prevent others starting private discussions with themselves. > Please note that admins and others with appropriate permissions can always bypass this preference, as was the case before. ### Patches Users of Byobu should update the extension to version 1.1.7, where this has been patched. **This version is only supported on v1.2.0 and later of Flarum Core.** Users of Byobu with Flarum 1.0 or 1.1 should upgrade to Flarum 1.2 or later, or evaluate the impact this issue has on your forum's users and choose to disable the extension if needed. ### Workarounds There are no workarounds for this issue.

CVE-2022-35921 Affected Fof/byobu Versions

1 component(s)
Fixed Versions:
1.1.7
Product / Package Ecosystem Affected Versions Fixed Version
fof/byobu
Packagist
≥ 0.3.0-beta.2
< 1.1.7
1.1.7

References

Frequently Asked Questions

What is CVE-2022-35921?
CVE-2022-35921 is a security vulnerability in Fof/byobu involving Byobu user preference to prevent private discussions being started are not respected under CWE-269: Improper Privilege Management.
Which Fof/byobu versions are affected?
Affected versions include releases prior to 1.1.7 across affected packages: fof/byobu.
What version fixes CVE-2022-35921?
Upgrading to 1.1.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is fof/byobu affected?
Yes, fof/byobu is affected in releases prior to 1.1.7. Upgrade your dependency to 1.1.7 or later.
What is the CVSS score of CVE-2022-35921?
CVE-2022-35921 has a CVSS v3.1 base score of 3.5 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2022-35921?
CVE-2022-35921 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Packagist dependencies for CVE-2022-35921?
Run the dependency tree command: 'inspect dependencies for fof/byobu'. 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-6gjm-6wj6-4px5",
  "modified" : "2022-08-06T05:20:52Z",
  "published" : "2022-08-06T05:20:52Z",
  "aliases" : [ "CVE-2022-35921" ],
  "summary" : "Byobu user preference to prevent private discussions being started are not respected",
  "details" : "### Impact\nUsers electing to prevent others starting private discussions with themselves.\n\n> Please note that admins and others with appropriate permissions can always bypass this preference, as was the case before.\n\n### Patches\nUsers of Byobu should update the extension to version 1.1.7, where this has been patched. **This version is only supported on v1.2.0 and later of Flarum Core.**\n\nUsers of Byobu with Flarum 1.0 or 1.1 should upgrade to Flarum 1.2 or later, or evaluate the impact this issue has on your forum's users and choose to disable the extension if needed.\n\n### Workarounds\nThere are no workarounds for this issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "fof/byobu"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.3.0-beta.2"
      }, {
        "fixed" : "1.1.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfFlarum/byobu/security/advisories/GHSA-6gjm-6wj6-4px5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-35921"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfFlarum/byobu/commit/23dcf93a30f948d30c678a96681f7fdefeba5171"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/FriendsOfFlarum/byobu"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269", "CWE-863" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-08-06T05:20:52Z",
    "nvd_published_at" : "2022-08-01T22:15:00Z"
  }
}