{ "info": { "author": "attwad", "author_email": "tmusoft@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 3", "Topic :: Security", "Topic :: Software Development :: Libraries" ], "description": "======\nPyCvss\n======\n\nEasily manipulate and compute scores according to the Common Vulnerability Scoring System\n\nCurrent status\n==============\n\nThis library was developped following the specifications at\nhttp://www.first.org/cvss/cvss-guide\nand is currently in a stable state.\n\nPyCvss is available in the cheeseshop, you can start using it with\n\n.. code-block:: bash\n\n pip install pycvss\n\nFeatures\n========\n\n* Compute base, temporal and environmental scores\n* Convert from and to short vectors (\"AV:N/AC:L/Au:N/C:C/I:C/A:C\")\n* 100% test coverage\n* Pure python\n\nUsage\n=====\n\n.. code-block:: python\n\n c = Cvss()\n # Build from enums:\n c.set(AV.network)\n c.set(E.functional)\n c.set(CDP.low)\n # Or from a vector:\n c = Cvss.from_vector(\"AV:N/CDP:L/E:F\")\n # Get scores.\n c.to_vector()) # \"AV:N/CDP:L/E:F\"\n c.base_score # 7.8\n c.temporal_score # 6.4\n c.environmental_score # 9.2\n\nOr from a real CVE(2002_0392)\n\n.. code-block:: python\n\n c = Cvss.from_vector(\"AV:N/AC:L/Au:N/C:N/I:N/A:C\")\n # temp\n c.set(E.functional)\n c.set(RL.official_fix)\n c.set(RC.confirmed)\n # env\n c.set(CDP.high)\n c.set(TD.high)\n c.set(CR.medium)\n c.set(IR.medium)\n c.set(AR.high)\n print(c)\n \n A:C/AC:L/AR:H/AV:N/Au:N/C:N/CDP:H/CR:M/E:F/I:N/IR:M/RC:C/RL:OF/TD:H\n base score 7.8\n access vector 1.0\n access complexity 0.71\n authentication 0.704\n confidentiality impact 0.0\n integrity impact 0.0\n availability impact 0.66\n \n temporal score 6.4\n exploitability 0.95\n remediation level 0.87\n report confidence 1.0\n \n environmental score 9.2\n collateral damage potential 0.5\n target distribution 1.0\n confidentiality requirement 1.0\n integrity requirement 1.0\n availability requirement 1.51", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/attwad/pycvss", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "pycvss", "package_url": "https://pypi.org/project/pycvss/", "platform": "any", "project_url": "https://pypi.org/project/pycvss/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/attwad/pycvss" }, "release_url": "https://pypi.org/project/pycvss/1.0.2/", "requires_dist": null, "requires_python": null, "summary": "Cvss manipulation library to easily compute scores.", "version": "1.0.2" }, "last_serial": 1155930, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "798fdb5f58d5cb616a9d1e32ff840fd1", "sha256": "5610d9cecf09e7befd5189a889f5a3699e43db2d087ea83fd79a1f160623ee1d" }, "downloads": -1, "filename": "pycvss-1.0.tar.gz", "has_sig": false, "md5_digest": "798fdb5f58d5cb616a9d1e32ff840fd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4566, "upload_time": "2014-07-05T03:02:21", "url": "https://files.pythonhosted.org/packages/88/99/8f3ade4267a48f8d58513d85aac367f04ba8c1bc07d5b5718ef81e977914/pycvss-1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "b4b692d738a4db8c0dec2eb0098edbb3", "sha256": "d51515a4d72d6bccd528ee4b1e31ea2d53323af5c774bfaad55678f8265623c0" }, "downloads": -1, "filename": "pycvss-1.0.zip", "has_sig": false, "md5_digest": "b4b692d738a4db8c0dec2eb0098edbb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6601, "upload_time": "2014-07-05T03:02:18", "url": "https://files.pythonhosted.org/packages/78/14/eceed917085267b50f4a8088f30d43b13b60b2a30ae75adbba9e16c6b7dc/pycvss-1.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "0c148c8f04f48b20d3d28cef0597cf64", "sha256": "658ca471928b7ebc45ef9dbbf7ef3d4d74ab9bd757f500010c7b576738bedb50" }, "downloads": -1, "filename": "pycvss-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0c148c8f04f48b20d3d28cef0597cf64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5178, "upload_time": "2014-07-05T03:33:17", "url": "https://files.pythonhosted.org/packages/f4/d0/e363815f70b42ccd90f17a3b299c7303a3525e4b224ab290a83b0cdd2030/pycvss-1.0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "07ca9a2ce2826c67c01e57281e30cc85", "sha256": "d0ca274f30966210fecb6acc6a0a549dd2a96fd7d52880a366b11bd3128d9dbb" }, "downloads": -1, "filename": "pycvss-1.0.1.zip", "has_sig": false, "md5_digest": "07ca9a2ce2826c67c01e57281e30cc85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8812, "upload_time": "2014-07-05T03:33:12", "url": "https://files.pythonhosted.org/packages/4a/97/3f1839c0e49f60b00850c6f77cd96804730ca79e8a91475e72b53d981508/pycvss-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "1da97fa1c6530694a8cbd0ba0256f451", "sha256": "f468c19c539510685472f987147eed0be510b1428ea733471c749bc1e3361275" }, "downloads": -1, "filename": "pycvss-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1da97fa1c6530694a8cbd0ba0256f451", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5380, "upload_time": "2014-07-13T01:00:33", "url": "https://files.pythonhosted.org/packages/57/f5/d5f280ca5f7dc113c9c0df53c25aed49c43433c0f3f706c8f04e4333f01d/pycvss-1.0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "784134d3abadef84be22cfa885d01def", "sha256": "e2970d24e3eb257fa373c633a028f9525d3dffc66e7ac0d17a39f1f2b19c53cc" }, "downloads": -1, "filename": "pycvss-1.0.2.zip", "has_sig": false, "md5_digest": "784134d3abadef84be22cfa885d01def", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9142, "upload_time": "2014-07-13T01:00:30", "url": "https://files.pythonhosted.org/packages/b6/b2/f21b90485762f3d77837b7cfcfad084b9144a48e7c0c20ba964f9055bed4/pycvss-1.0.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1da97fa1c6530694a8cbd0ba0256f451", "sha256": "f468c19c539510685472f987147eed0be510b1428ea733471c749bc1e3361275" }, "downloads": -1, "filename": "pycvss-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1da97fa1c6530694a8cbd0ba0256f451", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5380, "upload_time": "2014-07-13T01:00:33", "url": "https://files.pythonhosted.org/packages/57/f5/d5f280ca5f7dc113c9c0df53c25aed49c43433c0f3f706c8f04e4333f01d/pycvss-1.0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "784134d3abadef84be22cfa885d01def", "sha256": "e2970d24e3eb257fa373c633a028f9525d3dffc66e7ac0d17a39f1f2b19c53cc" }, "downloads": -1, "filename": "pycvss-1.0.2.zip", "has_sig": false, "md5_digest": "784134d3abadef84be22cfa885d01def", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9142, "upload_time": "2014-07-13T01:00:30", "url": "https://files.pythonhosted.org/packages/b6/b2/f21b90485762f3d77837b7cfcfad084b9144a48e7c0c20ba964f9055bed4/pycvss-1.0.2.zip" } ] }