Bug 2273356 - mgr/dashboard: add absolute path validation for pseudo path of nfs export
Summary: mgr/dashboard: add absolute path validation for pseudo path of nfs export
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 7.1z1
Assignee: avan
QA Contact: Vinayak Papnoi
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-04 11:57 UTC by avan
Modified: 2024-08-07 11:22 UTC (History)
5 users (show)

Fixed In Version: ceph-18.2.1-195.el9cp
Doc Type: Bug Fix
Doc Text:
.An absolute path validation is now added for pseudo path of NFS export Previously, due to a missing validation for pseudo path, IT allowed passing / as input which would fail when trying to create a NFS export. With this fix, an absolute path validation for pseudo path of NFS export is added. The pseudo path validation now works and shows a warning whenever there is an invalid entry.
Clone Of:
Environment:
Last Closed: 2024-08-07 11:22:00 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 63124 0 None None None 2024-04-04 11:59:32 UTC
Github ceph ceph pull 53859 0 None open mgr/dashboard: add absolute path validation for pseudo path of nfs export 2024-04-04 11:58:19 UTC
Red Hat Issue Tracker RHCEPH-8752 0 None None None 2024-04-04 12:01:36 UTC
Red Hat Issue Tracker RHCSDASH-1352 0 None None None 2024-04-04 12:01:42 UTC
Red Hat Product Errata RHBA-2024:5080 0 None None None 2024-08-07 11:22:03 UTC

Description avan 2024-04-04 11:57:24 UTC
Description of problem:


Add nfs export validation for absolute path, which will alert user if pseudo="/".


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2024-04-04 11:57:34 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 8 errata-xmlrpc 2024-08-07 11:22:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 7.1 security and bug fix update.), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:5080


Note You need to log in before you can comment on or make changes to this bug.